Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
c4e872b9
Commit
c4e872b9
authored
Jun 06, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard_history: minor changes and fixes
parent
7b5f7ed5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
public/app/core/nav_model_srv.ts
+7
-5
public/app/features/dashboard/dashboard_srv.ts
+1
-1
public/app/features/dashboard/unsaved_changes_modal.ts
+1
-1
No files found.
public/app/core/nav_model_srv.ts
View file @
c4e872b9
...
...
@@ -167,11 +167,13 @@ export class NavModelSrv {
clickHandler
:
()
=>
dashNavCtrl
.
openEditView
(
'annotations'
)
});
menu
.
push
({
title
:
'Version history'
,
icon
:
'fa fa-fw fa-history'
,
clickHandler
:
()
=>
dashNavCtrl
.
openEditView
(
'history'
)
});
if
(
!
dashboard
.
meta
.
isHome
)
{
menu
.
push
({
title
:
'Version history'
,
icon
:
'fa fa-fw fa-history'
,
clickHandler
:
()
=>
dashNavCtrl
.
openEditView
(
'history'
)
});
}
menu
.
push
({
title
:
'View JSON'
,
...
...
public/app/features/dashboard/dashboard_srv.ts
View file @
c4e872b9
...
...
@@ -127,7 +127,7 @@ export class DashboardSrv {
showSaveModal
()
{
this
.
$rootScope
.
appEvent
(
'show-modal'
,
{
templateHtml
:
'<save-dashboard-modal dismiss="dismiss()"></save-dashboard-modal>
"
'
,
templateHtml
:
'<save-dashboard-modal dismiss="dismiss()"></save-dashboard-modal>'
,
scope
:
this
.
$rootScope
.
$new
(),
modalClass
:
'modal--narrow'
});
...
...
public/app/features/dashboard/unsaved_changes_modal.ts
View file @
c4e872b9
...
...
@@ -18,7 +18,7 @@ const template = `
<div class="modal-content text-center">
<div class="confirm-modal-text">
What do you want to do
?
Do you want to save you changes
?
</div>
<div class="confirm-modal-buttons">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment