Commit a0cbca4c by Torkel Ödegaard

more work on editable false, #1834

parent fd274592
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<li ng-show="dashboardMeta.canShare"> <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> <a class="pointer" ng-click="shareDashboard()" bs-tooltip="'Share dashboard'" data-placement="bottom"><i class="fa fa-share-square-o"></i></a>
</li> </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> <a ng-click="saveDashboard()" bs-tooltip="'Save dashboard'" data-placement="bottom"><i class="fa fa-save"></i></a>
</li> </li>
<li class="dropdown"> <li class="dropdown">
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<div class="row-text pointer" ng-click="toggle_row(row)" ng-bind="row.title"></div> <div class="row-text pointer" ng-click="toggle_row(row)" ng-bind="row.title"></div>
</div> </div>
<div class="row-open" ng-show="!row.collapse"> <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"> <span class="row-tab-button dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bars"></i> <i class="fa fa-bars"></i>
</span> </span>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</div> </div>
</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;"> <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 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> <span><i class="fa fa-plus"></i> ADD ROW</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment