Remove icon from group tabs.

This commit is contained in:
Guo Xiang Tan 2016-12-13 13:12:38 +08:00
parent 6dab7f4463
commit 5a5aea72b5
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export default Ember.Controller.extend({
Tab.create({ name: 'mentions' }),
Tab.create({ name: 'messages', requiresMembership: true }),
Tab.create({
name: 'logs', i18nKey: 'logs.title', icon: 'shield',
name: 'logs', i18nKey: 'logs.title',
requiresMembership: true, requiresGroupAdmin: true
})
],

View File

@ -41,7 +41,6 @@
{{#each getTabs as |tab|}}
<li class="{{if tab.active 'active'}}">
{{#link-to tab.location model title=tab.message}}
{{#if tab.icon}}{{fa-icon tab.icon}}{{/if}}
{{tab.message}}
{{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}}
{{/link-to}}