diff --git a/app/assets/javascripts/discourse/components/footer-message.js.es6 b/app/assets/javascripts/discourse/components/footer-message.js.es6 new file mode 100644 index 00000000000..1d6d8528383 --- /dev/null +++ b/app/assets/javascripts/discourse/components/footer-message.js.es6 @@ -0,0 +1,3 @@ +export default Ember.Component.extend({ + classNames: ['footer-message'] +}); diff --git a/app/assets/javascripts/discourse/templates/discovery/topics.hbs b/app/assets/javascripts/discourse/templates/discovery/topics.hbs index 9d65972904c..19cdd9116d7 100644 --- a/app/assets/javascripts/discourse/templates/discovery/topics.hbs +++ b/app/assets/javascripts/discourse/templates/discovery/topics.hbs @@ -64,7 +64,7 @@ {{d-icon "check"}} {{i18n 'topics.bulk.dismiss_new'}} {{/if}} - {{#footer-message education=footerEducation message=footerMessage tagName=""}} + {{#footer-message education=footerEducation message=footerMessage}} {{#if latest}} {{#if canCreateTopicOnCategory}}{{i18n 'topic.suggest_create_topic'}}{{/if}} {{else if top}} diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs index 4eb7503e29b..5c07afdc592 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs @@ -40,29 +40,15 @@ {{i18n 'topics.bulk.dismiss_new'}} {{/if}} - {{#if latest}} -