diff --git a/lib/shift73k_web/live/shift_template_live/index.html.leex b/lib/shift73k_web/live/shift_template_live/index.html.leex index 918998c3..779a15b0 100644 --- a/lib/shift73k_web/live/shift_template_live/index.html.leex +++ b/lib/shift73k_web/live/shift_template_live/index.html.leex @@ -11,7 +11,7 @@
-
+

<%= icon_div @socket, "bi-clock-history", [class: "icon baseline"] %> My Shift Templates @@ -21,15 +21,49 @@
-
+
<%= for shift <- @shift_templates do %> -
+
-
<%= shift.subject %>
-
<%= shift.description %>
-

huh ok

+

<%= shift.subject %>

+
+ <%= shift.start_time |> Calendar.strftime("%I:%M %p") %> + — + <%= + shift.start_time + |> Time.add((60 * 60 * shift.length_hours) + ((shift.length_minutes || 0) * 60)) + |> Calendar.strftime("%I:%M %p") + %> + [<%= shift.timezone %>] +
+

+ + + + + + + + + + + +
Description + <%= if shift.description do %> + <%= shift.description %> + <% else %> + empty + <% end %> +
Location + <%= if shift.location do %> + <%= shift.location %> + <% else %> + empty + <% end %> +
+

Card link Another link
@@ -43,7 +77,6 @@ -