Merge pull request #458 from foodcoop1040/break
Hide break in shared group template if empty
This commit is contained in:
commit
46275fa564
1 changed files with 1 additions and 1 deletions
|
@ -6,8 +6,8 @@
|
||||||
%dd=h group.contact
|
%dd=h group.contact
|
||||||
%dt= heading_helper(Ordergroup, :contact_address) + ':'
|
%dt= heading_helper(Ordergroup, :contact_address) + ':'
|
||||||
%dd= link_to_gmaps group.contact_address
|
%dd= link_to_gmaps group.contact_address
|
||||||
%dt= heading_helper(Ordergroup, :break) + ':'
|
|
||||||
- if group.break_start? or group.break_end?
|
- if group.break_start? or group.break_end?
|
||||||
|
%dt= heading_helper(Ordergroup, :break) + ':'
|
||||||
%dd= raw t '.break', start: format_date(group.break_start), end: format_date(group.break_end)
|
%dd= raw t '.break', start: format_date(group.break_start), end: format_date(group.break_end)
|
||||||
- if group.is_a?(Workgroup)
|
- if group.is_a?(Workgroup)
|
||||||
%dt= t('.access') + ':'
|
%dt= t('.access') + ':'
|
||||||
|
|
Loading…
Reference in a new issue