FIX: Latest link in site map was not working correctly.
This commit is contained in:
parent
d17dbf61a8
commit
8603f492c7
|
@ -12,7 +12,7 @@
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li>
|
<li>
|
||||||
{{#titled-link-to "discovery.latest" titleKey="filters.latest.help" class="latest-topics-link"}}{{i18n filters.latest.title}}{{/titled-link-to}}
|
<a href="/" title="{{i18n filters.latest.help}}" class="latest-topics-link">{{i18n filters.latest.title}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{#if showBadgesLink}}
|
{{#if showBadgesLink}}
|
||||||
<li>
|
<li>
|
||||||
|
@ -37,17 +37,19 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{#each categories itemController=itemController}}
|
{{#each categories itemController=itemController}}
|
||||||
{{category-link this allowUncategorized=true showParent=true}}
|
<li class="category">
|
||||||
{{#if showBadges}}
|
{{category-link this allowUncategorized=true showParent=true}}
|
||||||
{{#if unreadTopics}}
|
{{#if showBadges}}
|
||||||
<a href={{unbound unreadUrl}} class='badge unread-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unreadTopics}}</a>
|
{{#if unreadTopics}}
|
||||||
|
<a href={{unbound unreadUrl}} class='badge unread-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unreadTopics}}</a>
|
||||||
|
{{/if}}
|
||||||
|
{{#if newTopics}}
|
||||||
|
<a href={{unbound newUrl}} class='badge new-posts badge-notification' title='{{i18n topic.new_topics count="newTopics"}}'>{{newTopics}} {{i18n filters.new.title.zero}}</a>
|
||||||
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
<b class="topics-count">{{unbound topic_count}}</b>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if newTopics}}
|
</li>
|
||||||
<a href={{unbound newUrl}} class='badge new-posts badge-notification' title='{{i18n topic.new_topics count="newTopics"}}'>{{newTopics}} {{i18n filters.new.title.zero}}</a>
|
|
||||||
{{/if}}
|
|
||||||
{{else}}
|
|
||||||
<b class="topics-count">{{unbound topic_count}}</b>
|
|
||||||
{{/if}}
|
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue