more work on editable false, #1834

This commit is contained in:
Torkel Ödegaard 2015-04-25 11:10:28 +02:00
parent fd274592d4
commit a0cbca4cad
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
<li ng-show="dashboardMeta.canShare">
<a class="pointer" ng-click="shareDashboard()" bs-tooltip="'Share dashboard'" data-placement="bottom"><i class="fa fa-share-square-o"></i></a>
</li>
<li ng-show="dashboardMeta.canEdit">
<li ng-show="dashboardMeta.canSave">
<a ng-click="saveDashboard()" bs-tooltip="'Save dashboard'" data-placement="bottom"><i class="fa fa-save"></i></a>
</li>
<li class="dropdown">

View File

@ -24,7 +24,7 @@
<div class="row-text pointer" ng-click="toggle_row(row)" ng-bind="row.title"></div>
</div>
<div class="row-open" ng-show="!row.collapse">
<div class='row-tab bgSuccess dropdown' ng-show="row.editable">
<div class='row-tab bgSuccess dropdown' ng-show="dashboardMeta.canEdit">
<span class="row-tab-button dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bars"></i>
</span>
@ -99,7 +99,7 @@
</div>
</div>
<div ng-show='dashboard.editable' class="row-fluid add-row-panel-hint">
<div ng-show='dashboardMeta.canEdit' class="row-fluid add-row-panel-hint">
<div class="span12" style="text-align:right;">
<span style="margin-right: 10px;" ng-click="add_row_default()" class="pointer btn btn-info btn-small">
<span><i class="fa fa-plus"></i> ADD ROW</span>