2019-12-26 13:23:21 +10:00
|
|
|
<div class="col-sm-3">
|
2019-11-11 17:47:48 +10:00
|
|
|
<h2> </h2>
|
2018-01-07 04:55:48 +10:00
|
|
|
<ul class="list-group">
|
2019-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="far fa-chart-bar fa-icon"></i> <a href="/admin/dashboard">{{ @root.__ "Dashboard" }}</a></li>
|
2018-01-07 04:55:48 +10:00
|
|
|
<li class="list-group-item"><strong>Products</strong></li>
|
2018-02-06 07:28:12 +10:00
|
|
|
{{#ifCond session.isAdmin '===' true}}
|
2019-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="far fa-plus-square"></i> <a href="/admin/product/new">{{ @root.__ "New" }}</a></li>
|
2018-02-06 05:51:04 +10:00
|
|
|
{{/ifCond}}
|
2019-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="fas fa-list fa-icon"></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>
|
2020-01-02 15:30:24 +10:00
|
|
|
<li class="list-group-item"><i class="fas fa-cubes fa-icon"></i> <a href="/admin/orders">{{ @root.__ "List" }}</a></li>
|
|
|
|
<li class="list-group-item"><i class="fas fa-cube fa-icon"></i> <a href="/admin/order/create">{{ @root.__ "Create" }}</a></li>
|
2018-01-22 07:20:33 +10:00
|
|
|
<li class="list-group-item"><strong>Customers</strong></li>
|
2019-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="fas fa-users fa-icon"></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-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="fas fa-user-plus fa-icon"></i> <a href="/admin/user/new">{{ @root.__ "New" }}</a></li>
|
|
|
|
<li class="list-group-item"><i class="fas fa-user fa-icon"></i> <a href="/admin/users">{{ @root.__ "Edit" }}</a></li>
|
2018-02-06 05:51:04 +10:00
|
|
|
{{/ifCond}}
|
2019-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="fas fa-user-circle"></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>
|
2019-12-30 22:28:37 +10:00
|
|
|
<li class="list-group-item"><i class="fas fa-cog fa-icon"></i> <a href="/admin/settings">{{ @root.__ "General settings" }}</a></li>
|
|
|
|
<li class="list-group-item"><i class="fas fa-bars fa-icon"></i> <a href="/admin/settings/menu">Menu</a></li>
|
|
|
|
<li class="list-group-item"><i class="far fa-file fa-icon"></i> <a href="/admin/settings/pages">{{ @root.__ "Static pages" }}</a></li>
|
2020-01-21 17:36:46 +10:00
|
|
|
{{#ifCond session.isAdmin '===' true}}
|
|
|
|
<li class="list-group-item"><i class="fas fa-tag"></i> <a href="/admin/settings/discounts">{{ @root.__ "Discount codes" }}</a></li>
|
|
|
|
{{/ifCond}}
|
2018-01-07 04:55:48 +10:00
|
|
|
</ul>
|
|
|
|
</div>
|