1 |
57915
|
michele.ar
|
<div>
|
2 |
57851
|
michele.ar
|
|
3 |
58199
|
michele.ar
|
<div class="input-group input-group-sm mb-3">
|
4 |
|
|
<input type="text" class="form-control" ng-model="conflictFilter" placeholder="Filter...">
|
5 |
|
|
<div class="input-group-append">
|
6 |
|
|
<span class="input-group-text text-outline-primary" id="inputGroup-sizing-sm">Country:</span>
|
7 |
|
|
<button class="btn btn-outline-primary dropdown-toggle" data-toggle="dropdown">{{country}}</button>
|
8 |
|
|
<div class="dropdown-menu">
|
9 |
58206
|
michele.ar
|
<small>
|
10 |
58353
|
michele.ar
|
<a class="dropdown-item" href="#!/suggestions/{{c}}/2"
|
11 |
58206
|
michele.ar
|
ng-repeat="(c, vals) in info.byCountry"
|
12 |
|
|
ng-if="vals.nConflicts > 0">
|
13 |
58353
|
michele.ar
|
{{c}} <span class="badge badge-danger float-right">{{vals.nConflicts}}</span>
|
14 |
58206
|
michele.ar
|
</a>
|
15 |
|
|
</small>
|
16 |
58199
|
michele.ar
|
</div>
|
17 |
|
|
</div>
|
18 |
|
|
</div>
|
19 |
|
|
|
20 |
57851
|
michele.ar
|
<div class="card text-white mb-3" ng-repeat="w in conflicts | filter:conflictFilter" class="mb-2">
|
21 |
57819
|
michele.ar
|
<div class="card-header bg-primary text-white py-1">Group {{$index+1}}</div>
|
22 |
|
|
<table class="table table-sm">
|
23 |
|
|
<tr ng-repeat="o in w">
|
24 |
|
|
<th style="width:40px" class="text-center">#{{$index+1}}</th>
|
25 |
|
|
<td><a href="#!/edit/0/{{o.id}}" title="{{o.id}}">{{o.name}}</a></td>
|
26 |
58243
|
michele.ar
|
<td style="width:250px"><img ng-src="resources/images/flags/{{o.country}}.gif" /> {{o.city}}, {{o.country}}</td>
|
27 |
57819
|
michele.ar
|
<td style="width:80px" class="text-right">{{o.type}}</td>
|
28 |
|
|
</tr>
|
29 |
|
|
</table>
|
30 |
|
|
<div class="card-footer bg-secondary py-1">
|
31 |
58243
|
michele.ar
|
<button type="button"
|
32 |
|
|
class="btn btn-sm btn-primary"
|
33 |
|
|
data-toggle="modal" data-target="#resolveConflictsModal"
|
34 |
|
|
ng-click="prepareConflictsModal(w)">resolve</button>
|
35 |
57819
|
michele.ar
|
</div>
|
36 |
|
|
</div>
|
37 |
58243
|
michele.ar
|
|
38 |
|
|
</div>
|
39 |
|
|
|
40 |
58250
|
michele.ar
|
<resolve-conflicts-modal modal-id="resolveConflictsModal" orgs="orgs" selected-orgs="selectedOrgs"></resolve-conflicts-modal>
|