Add group icon to restricted parent categories

This commit is contained in:
Robin Ward 2014-06-20 12:50:13 -04:00
parent 56096619c0
commit f027563447

View file

@ -19,7 +19,12 @@
<div class="pull-left"> <div class="pull-left">
{{#if controller.ordering}}<i class="fa fa-bars"></i>{{/if}} {{#if controller.ordering}}<i class="fa fa-bars"></i>{{/if}}
<h3>{{#link-to 'discovery.parentCategory' this}}{{unbound name}}{{/link-to}}</h3> <h3>
{{#if read_restricted}}<i class='fa fa-group'></i>{{/if}}
{{#link-to 'discovery.parentCategory' this}}
{{unbound name}}
{{/link-to}}
</h3>
{{#if unreadTopics}} {{#if unreadTopics}}
<a href={{unbound unreadUrl}} class='badge new-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unbound unreadTopics}}</a> <a href={{unbound unreadUrl}} class='badge new-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unbound unreadTopics}}</a>
{{/if}} {{/if}}