aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/update-center/list-item-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/list-item-view.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/update-center/list-item-view.js b/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
index 163d3c61fa0..695994f9e18 100644
--- a/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
@@ -2,13 +2,14 @@ import $ from 'jquery';
import Backbone from 'backbone';
import Marionette from 'backbone.marionette';
import PluginChangelogView from './plugin-changelog-view';
-import './templates';
+import Template from './templates/update-center-plugin.hbs';
+import SystemTemplate from './templates/update-center-system-update.hbs';
export default Marionette.ItemView.extend({
tagName: 'li',
className: 'panel panel-vertical',
- template: Templates['update-center-plugin'],
- systemTemplate: Templates['update-center-system-update'],
+ template: Template,
+ systemTemplate: SystemTemplate,
modelEvents: {
'change:_hidden': 'toggleDisplay',