Added icon option for personal menu.
This commit is contained in:
parent
5042194cfc
commit
6ff61092c1
2 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,8 @@ App.Config.set('User', {
|
||||||
role: [ 'Agent', 'Customer' ]
|
role: [ 'Agent', 'Customer' ]
|
||||||
}, 'NavBarRight' )
|
}, '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( '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' )
|
App.Config.set( 'Misc', { prio: 90000, parent: '', name: 'Tools', translate: true, target: '#tools', child: true, class: 'tools' }, 'NavBar' )
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<% else: %>
|
<% else: %>
|
||||||
<li class="settings <% if @active_tab[item.target] : %>active<% end %>">
|
<li class="settings <% if @active_tab[item.target] : %>active<% end %>">
|
||||||
<a class="list-button fit horizontal centered" href="<%= item.target %>" title="<%- @Ti( item.name ) %>">
|
<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>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue