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
62b21c58
Commit
62b21c58
authored
Mar 01, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(dashlist): rename last viewed -> recently viewed
parent
606c7516
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
public/app/plugins/panel/dashlist/module.ts
+2
-2
public/dashboards/home.json
+2
-2
No files found.
public/app/plugins/panel/dashlist/module.ts
View file @
62b21c58
...
...
@@ -32,7 +32,7 @@ class DashListCtrl extends PanelCtrl {
initEditMode
()
{
super
.
initEditMode
();
this
.
modes
=
[
'starred'
,
'search'
,
'
last
viewed'
];
this
.
modes
=
[
'starred'
,
'search'
,
'
recently
viewed'
];
this
.
icon
=
"fa fa-star"
;
this
.
addEditorTab
(
'Options'
,
()
=>
{
return
{
templateUrl
:
'public/app/plugins/panel/dashlist/editor.html'
};
...
...
@@ -42,7 +42,7 @@ class DashListCtrl extends PanelCtrl {
refresh
()
{
var
params
:
any
=
{
limit
:
this
.
panel
.
limit
};
if
(
this
.
panel
.
mode
===
'
last
viewed'
)
{
if
(
this
.
panel
.
mode
===
'
recently
viewed'
)
{
var
dashListNames
=
impressions
.
getDashboardOpened
().
filter
((
imp
)
=>
{
return
imp
.
orgId
===
config
.
bootData
.
user
.
orgId
;
...
...
public/dashboards/home.json
View file @
62b21c58
...
...
@@ -47,11 +47,11 @@
{
"id"
:
3
,
"limit"
:
10
,
"mode"
:
"
last
viewed"
,
"mode"
:
"
recently
viewed"
,
"query"
:
""
,
"span"
:
6
,
"tags"
:
[],
"title"
:
"
Last 10
viewed dashboards"
,
"title"
:
"
Recently
viewed dashboards"
,
"type"
:
"dashlist"
}
],
...
...
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