Fixed permissions
parent
fe3a1c7c25
commit
292dbf7e07
|
@ -2,7 +2,7 @@
|
|||
<h2>Menu</h2>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item"><strong>Products</strong></li>
|
||||
{{#ifCond session.isAdmin '===' 'true'}}
|
||||
{{#ifCond session.isAdmin '===' true}}
|
||||
<li class="list-group-item"><i class="fa fa-plus-square-o fa-icon" aria-hidden="true"></i> <a href="/admin/product/new">New</a></li>
|
||||
{{/ifCond}}
|
||||
<li class="list-group-item"><i class="fa fa-list fa-icon" aria-hidden="true"></i> <a href="/admin/products">List</a></li>
|
||||
|
@ -11,7 +11,7 @@
|
|||
<li class="list-group-item"><strong>Customers</strong></li>
|
||||
<li class="list-group-item"><i class="fa fa-users fa-icon" aria-hidden="true"></i> <a href="/admin/customers">List</a></li>
|
||||
<li class="list-group-item"><strong>Users</strong></li>
|
||||
{{#ifCond session.isAdmin '===' 'true'}}
|
||||
{{#ifCond session.isAdmin '===' true}}
|
||||
<li class="list-group-item"><i class="fa fa-user-plus fa-icon" aria-hidden="true"></i> <a href="/admin/user/new">New</a></li>
|
||||
<li class="list-group-item"><i class="fa fa-user fa-icon" aria-hidden="true"></i> <a href="/admin/users">Edit</a></li>
|
||||
{{/ifCond}}
|
||||
|
|
Loading…
Reference in New Issue