From 6dad7dfcec5407d5ed1c526b6191b5c2e4153a39 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 10 Jan 2018 14:56:51 -0500 Subject: [PATCH] Add extensible classes for components --- app/assets/javascripts/admin/components/silence-details.js.es6 | 3 +++ .../javascripts/admin/components/suspension-details.js.es6 | 3 +++ .../javascripts/admin/templates/modal/admin-silence-user.hbs | 2 +- .../javascripts/admin/templates/modal/admin-suspend-user.hbs | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 app/assets/javascripts/admin/components/silence-details.js.es6 create mode 100644 app/assets/javascripts/admin/components/suspension-details.js.es6 diff --git a/app/assets/javascripts/admin/components/silence-details.js.es6 b/app/assets/javascripts/admin/components/silence-details.js.es6 new file mode 100644 index 00000000000..9250c1ae73b --- /dev/null +++ b/app/assets/javascripts/admin/components/silence-details.js.es6 @@ -0,0 +1,3 @@ +export default Ember.Component.extend({ + tagName: '' +}); diff --git a/app/assets/javascripts/admin/components/suspension-details.js.es6 b/app/assets/javascripts/admin/components/suspension-details.js.es6 new file mode 100644 index 00000000000..9250c1ae73b --- /dev/null +++ b/app/assets/javascripts/admin/components/suspension-details.js.es6 @@ -0,0 +1,3 @@ +export default Ember.Component.extend({ + tagName: '' +}); diff --git a/app/assets/javascripts/admin/templates/modal/admin-silence-user.hbs b/app/assets/javascripts/admin/templates/modal/admin-silence-user.hbs index 028d9f9fc83..6b3b899ac83 100644 --- a/app/assets/javascripts/admin/templates/modal/admin-silence-user.hbs +++ b/app/assets/javascripts/admin/templates/modal/admin-silence-user.hbs @@ -11,7 +11,7 @@ - {{silence-details reason=reason message=message tagName=''}} + {{silence-details reason=reason message=message}} {{/conditional-loading-spinner}} diff --git a/app/assets/javascripts/admin/templates/modal/admin-suspend-user.hbs b/app/assets/javascripts/admin/templates/modal/admin-suspend-user.hbs index 097c7cb0b47..4c0af11512e 100644 --- a/app/assets/javascripts/admin/templates/modal/admin-suspend-user.hbs +++ b/app/assets/javascripts/admin/templates/modal/admin-suspend-user.hbs @@ -11,7 +11,7 @@ input=suspendUntil}} - {{suspension-details reason=reason message=message tagName=''}} + {{suspension-details reason=reason message=message}} {{else}}