update oqs sidebar
This commit is contained in:
@@ -19,8 +19,10 @@
|
||||
<a href="javascript:void(0);" class="bars"></a>
|
||||
<% if current_login_employee.role == "administrator" || current_login_employee.role == "manager" || current_login_employee.role == "account" %>
|
||||
<a class="navbar-brand" href="<%=dashboard_path%>" style="margin-left: 20px;">
|
||||
<% else %>
|
||||
<a class="navbar-brand" href="<%=origami_dashboard_path%>" style="margin-left: 20px;">
|
||||
<% elsif current_login_employee.role == "supervisor" || current_login_employee.role == "cashier" || current_login_employee.role == "waiter" %>
|
||||
<a href="<%= origami_dashboard_path %>">
|
||||
<%else%>
|
||||
<a class="navbar-brand" href="" style="margin-left: 20px;">
|
||||
<% end %>
|
||||
<% else %>
|
||||
<a class="navbar-brand m-0" href="<%= origami_dashboard_path%>">
|
||||
|
||||
@@ -35,14 +35,11 @@
|
||||
<% elsif current_login_employee.role == "supervisor" || current_login_employee.role == "cashier" || current_login_employee.role == "waiter" %>
|
||||
<a href="<%= origami_dashboard_path %>">
|
||||
<%end%>
|
||||
<a href="#">
|
||||
<a href="">
|
||||
<i class="material-icons">home</i>
|
||||
<span><%= t :dashboard %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% if current_login_employee.role == "kitchen" %>
|
||||
<li class="header"><%= t :main_navigation %></li>
|
||||
<% end %>
|
||||
<% if can? :menage, OrderQueueStation %>
|
||||
<li>
|
||||
<a href="<%= oqs_root_path %>">
|
||||
|
||||
Reference in New Issue
Block a user