Commit 2f06be1d0557a583617dc86177287ccd7487dd5c

Authored by Igor Kulikov
1 parent 115b0087

UI: Widgets - add entityDescription variable

@@ -499,6 +499,8 @@ function Utils($mdColorPalette, $rootScope, $window, $translate, $q, $timeout, t @@ -499,6 +499,8 @@ function Utils($mdColorPalette, $rootScope, $window, $translate, $q, $timeout, t
499 label = label.split(variable).join(datasource.entityName); 499 label = label.split(variable).join(datasource.entityName);
500 } else if (variableName === 'aliasName') { 500 } else if (variableName === 'aliasName') {
501 label = label.split(variable).join(datasource.aliasName); 501 label = label.split(variable).join(datasource.aliasName);
  502 + } else if (variableName === 'entityDescription') {
  503 + label = label.split(variable).join(datasource.entityDescription);
502 } 504 }
503 match = varsRegex.exec(pattern); 505 match = varsRegex.exec(pattern);
504 } 506 }