Put h3 footer messages inside the footer tag for easier styling
This commit is contained in:
parent
28ac110a3c
commit
2c68dd1c12
2 changed files with 12 additions and 12 deletions
app/assets
|
@ -53,20 +53,20 @@
|
||||||
{{#if loadingMore}}
|
{{#if loadingMore}}
|
||||||
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
|
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</footer>
|
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
{{footerMessage}}
|
{{footerMessage}}
|
||||||
{{#if allLoaded}}
|
{{#if allLoaded}}
|
||||||
{{#if latest}}
|
{{#if latest}}
|
||||||
{{#if canCreateTopic}}
|
{{#if canCreateTopic}}
|
||||||
<a href='#' {{action createTopic}}>{{i18n topic.suggest_create_topic}}</a>
|
<a href='#' {{action createTopic}}>{{i18n topic.suggest_create_topic}}</a>
|
||||||
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
{{#linkTo list.categories}}{{i18n topic.browse_all_categories}}{{/linkTo}} {{i18n or}} {{#linkTo list.latest}}{{i18n topic.view_latest_topics}}{{/linkTo}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
|
||||||
{{#linkTo list.categories}}{{i18n topic.browse_all_categories}}{{/linkTo}} {{i18n or}} {{#linkTo list.latest}}{{i18n topic.view_latest_topics}}{{/linkTo}}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
</h3>
|
||||||
</h3>
|
</footer>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
|
@ -257,7 +257,7 @@
|
||||||
// Topics
|
// Topics
|
||||||
|
|
||||||
#topic-list-bottom {
|
#topic-list-bottom {
|
||||||
padding: 20px;
|
margin: 20px 0;
|
||||||
.topics-loading {
|
.topics-loading {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
Reference in a new issue