2018-01-07 04:55:48 +10:00
|
|
|
<div class="col-lg-3">
|
2019-11-11 17:47:48 +10:00
|
|
|
<h2> </h2>
|
2018-01-07 04:55:48 +10:00
|
|
|
<ul class="list-group">
|
|
|
|
<li class="list-group-item"><strong>Products</strong></li>
|
2018-02-06 07:28:12 +10:00
|
|
|
{{#ifCond session.isAdmin '===' true}}
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-plus-square-o fa-icon" aria-hidden="true"></i> <a href="/admin/product/new">{{ @root.__ "New" }}</a></li>
|
2018-02-06 05:51:04 +10:00
|
|
|
{{/ifCond}}
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-list fa-icon" aria-hidden="true"></i> <a href="/admin/products">{{ @root.__ "List" }}</a></li>
|
2018-01-07 04:55:48 +10:00
|
|
|
<li class="list-group-item"><strong>Orders</strong></li>
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-cube fa-icon" aria-hidden="true"></i> <a href="/admin/orders">{{ @root.__ "List" }}</a></li>
|
2018-01-22 07:20:33 +10:00
|
|
|
<li class="list-group-item"><strong>Customers</strong></li>
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-users fa-icon" aria-hidden="true"></i> <a href="/admin/customers">{{ @root.__ "List" }}</a></li>
|
2018-01-07 04:55:48 +10:00
|
|
|
<li class="list-group-item"><strong>Users</strong></li>
|
2018-02-06 07:28:12 +10:00
|
|
|
{{#ifCond session.isAdmin '===' true}}
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-user-plus fa-icon" aria-hidden="true"></i> <a href="/admin/user/new">{{ @root.__ "New" }}</a></li>
|
|
|
|
<li class="list-group-item"><i class="fa fa-user fa-icon" aria-hidden="true"></i> <a href="/admin/users">{{ @root.__ "Edit" }}</a></li>
|
2018-02-06 05:51:04 +10:00
|
|
|
{{/ifCond}}
|
2018-01-07 04:55:48 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-user-circle-o fa-icon" aria-hidden="true"></i> <a href="/admin/user/edit/{{session.userId}}">My Account</a></li>
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><strong>{{ @root.__ "Settings" }}</strong></li>
|
|
|
|
<li class="list-group-item"><i class="fa fa-cog fa-icon" aria-hidden="true"></i> <a href="/admin/settings">{{ @root.__ "General settings" }}</a></li>
|
2018-01-07 04:55:48 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-bars fa-icon" aria-hidden="true"></i> <a href="/admin/settings/menu">Menu</a></li>
|
2019-11-06 18:31:25 +10:00
|
|
|
<li class="list-group-item"><i class="fa fa-file-o fa-icon" aria-hidden="true"></i> <a href="/admin/settings/pages">{{ @root.__ "Static pages" }}</a></li>
|
2018-01-07 04:55:48 +10:00
|
|
|
</ul>
|
|
|
|
</div>
|