FIX: Footer message was missing the class
This commit is contained in:
parent
9246bc3400
commit
4b0dcd64eb
|
@ -0,0 +1,3 @@
|
||||||
|
export default Ember.Component.extend({
|
||||||
|
classNames: ['footer-message']
|
||||||
|
});
|
|
@ -64,7 +64,7 @@
|
||||||
{{d-icon "check"}} {{i18n 'topics.bulk.dismiss_new'}}</button>
|
{{d-icon "check"}} {{i18n 'topics.bulk.dismiss_new'}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#footer-message education=footerEducation message=footerMessage tagName=""}}
|
{{#footer-message education=footerEducation message=footerMessage}}
|
||||||
{{#if latest}}
|
{{#if latest}}
|
||||||
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
||||||
{{else if top}}
|
{{else if top}}
|
||||||
|
|
|
@ -40,29 +40,15 @@
|
||||||
{{i18n 'topics.bulk.dismiss_new'}}</button>
|
{{i18n 'topics.bulk.dismiss_new'}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if latest}}
|
{{#footer-message education=footerEducation message=footerMessage}}
|
||||||
<div class="education">
|
{{#if latest}}
|
||||||
{{{footerEducation}}}
|
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
||||||
</div>
|
{{else if top}}
|
||||||
<h3>
|
{{#link-to "discovery.categories"}}{{i18n 'topic.browse_all_categories'}}{{/link-to}}, {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}} {{i18n 'or'}} {{i18n 'filters.top.other_periods'}}
|
||||||
{{footerMessage}}
|
{{top-period-buttons period=period action="changePeriod"}}
|
||||||
{{#if model.can_create_topic}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
|
||||||
</h3>
|
|
||||||
{{else}}
|
|
||||||
{{#if top}}
|
|
||||||
<h3>
|
|
||||||
{{#link-to "discovery.categories"}}{{i18n 'topic.browse_all_categories'}}{{/link-to}}, {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}} {{i18n 'or'}} {{i18n 'filters.top.other_periods'}}
|
|
||||||
<br/>
|
|
||||||
{{top-period-buttons period=period action="changePeriod"}}
|
|
||||||
</h3>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="education">
|
{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}
|
||||||
{{{footerEducation}}}
|
|
||||||
</div>
|
|
||||||
<h3>
|
|
||||||
{{footerMessage}}{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}
|
|
||||||
</h3>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/footer-message}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue