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
8c14e565
Commit
8c14e565
authored
Apr 28, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored the variable color for the label/name in the submenu
parent
53cb0fed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
public/app/directives/templateParamSelector.js
+2
-6
public/app/features/dashboard/partials/variableValueSelect.html
+3
-0
No files found.
public/app/directives/templateParamSelector.js
View file @
8c14e565
...
...
@@ -99,12 +99,8 @@ function (angular, app, _) {
};
scope
.
updateLinkText
=
function
()
{
scope
.
linkText
=
""
;
if
(
!
variable
.
hideLabel
)
{
scope
.
linkText
=
(
variable
.
label
||
variable
.
name
)
+
': '
;
}
scope
.
linkText
+=
variable
.
current
.
text
;
scope
.
labelText
=
variable
.
label
||
'$'
+
variable
.
name
;
scope
.
linkText
=
variable
.
current
.
text
;
};
scope
.
$watchGroup
([
'variable.hideLabel'
,
'variable.name'
,
'variable.label'
,
'variable.current.text'
],
function
()
{
...
...
public/app/features/dashboard/partials/variableValueSelect.html
View file @
8c14e565
<span
class=
"template-variable"
ng-show=
"!variable.hideLabel"
style=
"padding-right: 5px"
>
{{labelText}}:
</span>
<a
ng-click=
"show()"
class=
"variable-value-link"
>
{{linkText}}
<i
class=
"fa fa-caret-down"
></i>
...
...
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