Put h3 footer messages inside the footer tag for easier styling

This commit is contained in:
Neil Lalonde 2013-06-12 13:02:48 -04:00
parent 28ac110a3c
commit 2c68dd1c12
2 changed files with 12 additions and 12 deletions

View File

@ -53,20 +53,20 @@
{{#if loadingMore}}
<div class='topics-loading'>{{i18n topic.loading_more}}</div>
{{/if}}
</footer>
<h3>
{{footerMessage}}
{{#if allLoaded}}
{{#if latest}}
{{#if canCreateTopic}}
<a href='#' {{action createTopic}}>{{i18n topic.suggest_create_topic}}</a>
<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}}
{{else}}
{{#linkTo list.categories}}{{i18n topic.browse_all_categories}}{{/linkTo}} {{i18n or}} {{#linkTo list.latest}}{{i18n topic.view_latest_topics}}{{/linkTo}}
{{/if}}
{{/if}}
</h3>
</h3>
</footer>
{{/if}}
{{/unless}}

View File

@ -257,7 +257,7 @@
// Topics
#topic-list-bottom {
padding: 20px;
margin: 20px 0;
.topics-loading {
width: 200px;
margin: 0 auto;