%= if @delete_shift do %> <.live_component module={Shift73kWeb.ModalComponent} id="modal" component={Shift73kWeb.ShiftLive.DeleteComponent} opts={[ id: @delete_shift.id, title: "Delete Shift Template", delete_shift: @delete_shift ]} /> <% end %>
Hours: | <%= format_shift_time(shift.time_start) %> — <%= format_shift_time(shift.time_end) %> Shift length: (<%= format_shift_length(shift) %>) TZ: <%= shift.time_zone %> |
---|---|
Location: | <%= if shift.location do %> <%= shift.location %> <% else %> none <% end %> |
Description: | <%= if shift.description do %> <%= text_to_html shift.description %> <% else %> none <% end %> |
Nothing scheduled
<% end %> <% end %>