mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Add margin to topic list footer message
This commit is contained in:
parent
be71dbfd94
commit
fdc7267ad9
2 changed files with 16 additions and 18 deletions
|
@ -40,26 +40,24 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="full-width">
|
<footer id='topic-list-bottom'>
|
||||||
<footer id='topic-list-bottom'>
|
{{#if loadingMore}}
|
||||||
{{#if loadingMore}}
|
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
|
||||||
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
|
{{/if}}
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
<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}}
|
||||||
</h3>
|
{{/if}}
|
||||||
</footer>
|
</h3>
|
||||||
</div>
|
</footer>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
|
@ -259,7 +259,7 @@
|
||||||
// Topics
|
// Topics
|
||||||
|
|
||||||
#topic-list-bottom {
|
#topic-list-bottom {
|
||||||
margin: 20px 0;
|
margin: 20px 0 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topics-loading {
|
.topics-loading {
|
||||||
|
|
Loading…
Reference in a new issue