Sha256: 8f14c3750ef6330548cb7483db5a074b7d2d98dd759ee9e471f7e477b242791e
Contents?: true
Size: 1.07 KB
Versions: 119
Compression:
Stored size: 1.07 KB
Contents
li a.button.dropdown.with-icon(href="#" data-dropdown="diary-options" aria-controls="diary-options" aria-expanded="false") | Go to... br ul.f-dropdown#diary-options(data-dropdown-content aria-hidden="true") - date = Time.zone.today = dropdown_btn_item title: "This week", url: hd_unit_edit_diary_path(year: date.year, week_number: date.cweek) - date = Time.zone.today + 1.week = dropdown_btn_item title: "Next week", url: hd_unit_edit_diary_path(year: date.year, week_number: date.cweek) - date = Time.zone.today - 1.week = dropdown_btn_item title: "Last week", url: hd_unit_edit_diary_path(year: date.year, week_number: date.cweek) hr li= link_to "Edit stations", hd_unit_stations_path(unit) - if defined?(diary) li= link_to "Print", hd_unit_diary_path(unit, diary.id, format: :pdf), class: "button" / hd_unit_show_diary_path(year: date.year, week_number: date.cweek, format: :pdf),
Version data entries
119 entries across 119 versions & 1 rubygems