mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Show message if dashboard is archived
This commit is contained in:
parent
cbc58ba594
commit
eb61caa6b8
@ -21,10 +21,13 @@
|
||||
<ul class="dropdown-menu pull-right" dropdown-menu>
|
||||
<li><a data-toggle="modal" hash-link hash="edit_dashboard_dialog">Edit Dashboard</a></li>
|
||||
<li><a data-toggle="modal" hash-link hash="add_query_dialog">Add Widget</a></li>
|
||||
<li ng-if="!dashboard.is_archived"><a ng-click="archiveDashboard()">Delete Dashboard</a></li>
|
||||
<li ng-if="!dashboard.is_archived"><a ng-click="archiveDashboard()">Archive Dashboard</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</page-header>
|
||||
<div class="col-lg-12 p-5 m-b-10 bg-orange c-white" ng-if="dashboard.is_archived">
|
||||
This dashboard is archived and won't appear in the dashboards list or search results.
|
||||
</div>
|
||||
|
||||
|
||||
<div ng-repeat="row in dashboard.widgets" class="row">
|
||||
|
Loading…
Reference in New Issue
Block a user