group order switch view next iteration
This commit is contained in:
parent
7347bff156
commit
376148f8e5
1 changed files with 5 additions and 5 deletions
|
@ -2,9 +2,9 @@
|
||||||
- unless orders.empty?
|
- unless orders.empty?
|
||||||
%ul.nav.nav-pills.nav-stacked
|
%ul.nav.nav-pills.nav-stacked
|
||||||
.nav-header= t '.title'
|
.nav-header= t '.title'
|
||||||
|
%li= link_to t('ui.overview'), :group_orders
|
||||||
- orders.each do |order|
|
- orders.each do |order|
|
||||||
%li( class='#{ order == current_order ? "active" : ""}'
|
.btn-small.pull-right
|
||||||
data-toggle='tooltip'
|
=link_to_ordering(order, style: (order == current_order ? 'color: white' : '' ), 'data-confirm_switch_order' => true){ t 'ui.edit' }
|
||||||
data-placement='bottom'
|
%li( class="#{ order == current_order ? 'active' : ''}")
|
||||||
title='#{ order.ends ? t('.remaining', remaining: time_ago_in_words(order.ends)) : "" }')
|
|
||||||
=link_to_ordering(order, show: true, 'data-confirm_switch_order' => true)
|
=link_to_ordering(order, show: true, 'data-confirm_switch_order' => true)
|
Loading…
Reference in a new issue