kopia lustrzana https://github.com/FacilMap/facilmap
Fix highlighting of default view
rodzic
a22ef8e6a5
commit
aa743318f6
|
@ -6,10 +6,10 @@
|
|||
<div uib-alert class="alert-danger" ng-if="error">{{error.message || error}}</div>
|
||||
<table class="table table-striped">
|
||||
<tbody>
|
||||
<tr ng-class="{success: view.id == padData.defaultView.id}" ng-repeat="view in client.views">
|
||||
<tr ng-class="{success: view.id == client.padData.defaultView.id}" ng-repeat="view in client.views">
|
||||
<td><a href="javascript:" ng-click="display(view)">{{view.name}}</a></td>
|
||||
<td class="td-buttons">
|
||||
<button type="button" ng-hide="view.id == padData.defaultView.id" ng-click="makeDefault(view)" class="btn btn-default">Make default</button>
|
||||
<button type="button" ng-hide="view.id == client.padData.defaultView.id" ng-click="makeDefault(view)" class="btn btn-default">Make default</button>
|
||||
<button type="button" ng-click="confirm('Do you really want to delete the view “' + view.name + '”?') && delete(view)" class="btn btn-default">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Ładowanie…
Reference in New Issue