Skip to content

Commit

Permalink
fix(notificationsPanel): remove compile-template
Browse files Browse the repository at this point in the history
related to CAM-13876
  • Loading branch information
marstamm committed Sep 8, 2021
1 parent 15aed7d commit 2142eb5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
38 changes: 0 additions & 38 deletions webapps/camunda-commons-ui/lib/directives/compileTemplate.js

This file was deleted.

2 changes: 0 additions & 2 deletions webapps/camunda-commons-ui/lib/directives/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ var angular = require('../../../camunda-bpm-sdk-js/vendor/angular'),
notificationsPanel = require('./notificationsPanel'),
passwordRepeat = require('./passwordRepeat'),
showIfAuthorized = require('./showIfAuthorized'),
compileTemplate = require('./compileTemplate'),
nl2br = require('./nl2br'),
instantTypeahead = require('./instantTypeahead'),
util = require('../util/index');
Expand All @@ -44,7 +43,6 @@ directivesModule.directive('camInPlaceTextField', inPlaceTextField);
directivesModule.directive('notificationsPanel', notificationsPanel);
directivesModule.directive('passwordRepeat', passwordRepeat);
directivesModule.directive('showIfAuthorized', showIfAuthorized);
directivesModule.directive('compileTemplate', compileTemplate);
directivesModule.directive('nl2br', nl2br);
directivesModule.directive('instantTypeahead', instantTypeahead);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ var notificationsTemplate =
'<div class="notifications">' +
' <div uib-alert ng-repeat="notification in notifications" class="alert" ng-class="notificationClass(notification)">' +
' <button type="button" class="close" ng-click="removeNotification(notification)">&times;</button>' +
' <strong class="status" ng-bind-html="trustHTML(notification.status)" compile-template></strong> ' +
' <strong class="status" ng-bind-html="trustHTML(notification.status)"></strong> ' +
' <strong ng-if="notification.message">:</strong>' +
' <span class="message" ng-bind-html="trustHTML(notification.message)" compile-template></span>' +
' <span class="message" ng-bind-html="trustHTML(notification.message)"></span>' +
' </div>' +
'</div>';

Expand Down

0 comments on commit 2142eb5

Please sign in to comment.