Commit 8c14e565 by Torkel Ödegaard

Restored the variable color for the label/name in the submenu

parent 53cb0fed
......@@ -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() {
......
<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>
......
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