Added icon option for personal menu.

This commit is contained in:
Martin Edenhofer 2015-10-15 23:26:02 +02:00
parent 5042194cfc
commit 6ff61092c1
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,8 @@ App.Config.set('User', {
role: [ 'Agent', 'Customer' ]
}, 'NavBarRight' )
App.Config.set( 'Admin', { prio: 9000, parent: '', name: 'Admin', translate: true, target: '#manage', role: ['Admin'] }, 'NavBarRight' )
App.Config.set( 'Admin', { prio: 9000, parent: '', name: 'Admin', translate: true, target: '#manage', icon: 'cog', role: ['Admin'] }, 'NavBarRight' )
#App.Config.set( 'Reporting', { prio: 8000, parent: '', name: 'Reporing', translate: true, target: '#report', icon: 'report', role: ['Admin'] }, 'NavBarRight' )
App.Config.set( 'New', { prio: 20000, parent: '', name: 'New', translate: true, target: '#new', class: 'add' }, 'NavBarRight' )
App.Config.set( 'Misc', { prio: 90000, parent: '', name: 'Tools', translate: true, target: '#tools', child: true, class: 'tools' }, 'NavBar' )

View file

@ -30,7 +30,7 @@
<% else: %>
<li class="settings <% if @active_tab[item.target] : %>active<% end %>">
<a class="list-button fit horizontal centered" href="<%= item.target %>" title="<%- @Ti( item.name ) %>">
<%- @Icon('cog', 'user-menu-icon') %>
<%- @Icon(item.icon, 'user-menu-icon') %>
</a>
</li>
<% end %>