This commit is contained in:
Michele Artini 2021-04-23 09:37:15 +02:00
parent a0da981c29
commit bf28a0ba09
5 changed files with 7 additions and 8 deletions

View File

@ -2,4 +2,4 @@
orgs="orgs"
prev-function="prev()"
next-function="next()"
show-status="true"></org-results-page>
show-status="1"></org-results-page>

View File

@ -2,4 +2,4 @@
orgs="orgs"
prev-function="prev()"
next-function="next()"
show-status="true"></org-results-page>
show-status="1"></org-results-page>

View File

@ -2,4 +2,4 @@
orgs="orgs"
prev-function="prev()"
next-function="next()"
show-status="true"></org-results-page>
show-status="1"></org-results-page>

View File

@ -46,11 +46,11 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="o in orgs.content" class="d-flex" ng-class="{'table-warning' : o.showStatus && o.status != 'approved'}">
<tr ng-repeat="o in orgs.content" class="d-flex" ng-class="{'table-warning' : showStatus && o.status != 'approved'}">
<td class="col-6">
<a ng-if="mode == 'select-modal'" href="javascript:void(0)" title="{{o.id}}" ng-click="selectOrg(o)" data-dismiss="modal">{{o.name}}</a>
<a ng-if="mode != 'select-modal'" href="#!/edit/0/{{o.id}}" title="{{o.id}}">{{o.name}}</a>
<span class="badge badge-warning" ng-if="o.showStatus && o.status != 'approved'">{{o.status}}</span>
<span class="badge badge-warning" ng-if="showStatus && o.status != 'approved'">{{o.status}}</span>
</td>
<td class="col-4"><img ng-src="resources/images/flags/{{o.country}}.gif" /> {{o.city || '-'}}, {{o.country}}</td>
<td class="col-1 text-center">{{o.acronyms.join()}}</td>

View File

@ -18,8 +18,7 @@
next-function="search(searchValue, searchOrgs.number + 1, searchOrgs.size)"
on-select="selectOrg()"
selected-org="selectedOrg"
mode="select-modal"
show-status="true"></org-results-page>
mode="select-modal"></org-results-page>
</div>
</div>