This commit is contained in:
parent
a0da981c29
commit
bf28a0ba09
|
@ -2,4 +2,4 @@
|
||||||
orgs="orgs"
|
orgs="orgs"
|
||||||
prev-function="prev()"
|
prev-function="prev()"
|
||||||
next-function="next()"
|
next-function="next()"
|
||||||
show-status="true"></org-results-page>
|
show-status="1"></org-results-page>
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
orgs="orgs"
|
orgs="orgs"
|
||||||
prev-function="prev()"
|
prev-function="prev()"
|
||||||
next-function="next()"
|
next-function="next()"
|
||||||
show-status="true"></org-results-page>
|
show-status="1"></org-results-page>
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
orgs="orgs"
|
orgs="orgs"
|
||||||
prev-function="prev()"
|
prev-function="prev()"
|
||||||
next-function="next()"
|
next-function="next()"
|
||||||
show-status="true"></org-results-page>
|
show-status="1"></org-results-page>
|
||||||
|
|
|
@ -46,11 +46,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<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">
|
<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="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>
|
<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>
|
||||||
<td class="col-4"><img ng-src="resources/images/flags/{{o.country}}.gif" /> {{o.city || '-'}}, {{o.country}}</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>
|
<td class="col-1 text-center">{{o.acronyms.join()}}</td>
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
next-function="search(searchValue, searchOrgs.number + 1, searchOrgs.size)"
|
next-function="search(searchValue, searchOrgs.number + 1, searchOrgs.size)"
|
||||||
on-select="selectOrg()"
|
on-select="selectOrg()"
|
||||||
selected-org="selectedOrg"
|
selected-org="selectedOrg"
|
||||||
mode="select-modal"
|
mode="select-modal"></org-results-page>
|
||||||
show-status="true"></org-results-page>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue