Add margin to topic list footer message

This commit is contained in:
Neil Lalonde 2013-09-17 16:38:54 -04:00
parent be71dbfd94
commit fdc7267ad9
2 changed files with 16 additions and 18 deletions

View file

@ -40,26 +40,24 @@
{{/if}}
</div>
<div class="full-width">
<footer id='topic-list-bottom'>
{{#if loadingMore}}
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
{{/if}}
<footer id='topic-list-bottom'>
{{#if loadingMore}}
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
{{/if}}
<h3>
{{footerMessage}}
{{#if allLoaded}}
{{#if latest}}
{{#if canCreateTopic}}
<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}}
<h3>
{{footerMessage}}
{{#if allLoaded}}
{{#if latest}}
{{#if canCreateTopic}}
<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}}
</h3>
</footer>
</div>
{{/if}}
</h3>
</footer>
{{/if}}
{{/unless}}

View file

@ -259,7 +259,7 @@
// Topics
#topic-list-bottom {
margin: 20px 0;
margin: 20px 0 0 12px;
}
.topics-loading {