fix cashier page height & breadcrumb helper
This commit is contained in:
@@ -1,18 +1,5 @@
|
||||
<% breadcrumb_add t('views.right_panel.detail.order'), "", @food_court ? foodcourt_food_court_path : dashboard_path %>
|
||||
|
||||
<div class="page-header">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.order") %></li>
|
||||
<span class="float-right">
|
||||
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
||||
<% if food_court %>
|
||||
<%= link_to 'Back', foodcourt_food_court_path %>
|
||||
<% else %>
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
<%end%>
|
||||
</span>
|
||||
</ol>
|
||||
</div>
|
||||
<style>
|
||||
@media screen and (max-width: 785px) {
|
||||
section.content{
|
||||
|
||||
Reference in New Issue
Block a user