Skip to content

Commit

Permalink
format!
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Feb 21, 2025
1 parent 0a8b8f5 commit 9cf58c8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/dotcom_web/templates/alert/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
<% end %>
<% timeframe = format_alerts_timeframe(@alerts_timeframe) %>
<div :for={{route_or_stop, alerts} <- @alert_groups} class="mb-lg">
<%= link to: group_header_path(route_or_stop), class: "flex items-center gap-sm hover:no-underline" do %>
<.route_icon :if={show_mode_icon?(route_or_stop)} route={route_or_stop} />
<h3 class="m-alerts-header__name text-lg">{group_header_name(route_or_stop)}</h3>
<% end %>
{DotcomWeb.AlertView.group(
alerts: alerts,
route: route_or_stop,
date_time: @date_time
)}
<%= link to: group_header_path(route_or_stop), class: "flex items-center gap-sm hover:no-underline" do %>
<.route_icon :if={show_mode_icon?(route_or_stop)} route={route_or_stop} />
<h3 class="m-alerts-header__name text-lg">{group_header_name(route_or_stop)}</h3>
<% end %>
{DotcomWeb.AlertView.group(
alerts: alerts,
route: route_or_stop,
date_time: @date_time
)}
</div>
<%= if Enum.empty?(@alert_groups) && !show_systemwide_alert? do %>
<div class="m-alerts__notice--no-alerts">
Expand Down

0 comments on commit 9cf58c8

Please sign in to comment.