Skip to content

Commit

Permalink
Make change easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Dec 1, 2023
1 parent 1a79d5d commit 7217bf4
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions app/views/imports/_import.html.erb
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
<%= turbo_stream_from import %>

<%= polaris_card do %>
<%= polaris_vertical_stack(gap: "6") do |stack| %>
<%= polaris_card do %>
<%= polaris_vertical_stack(gap: "6") do |stack| %>

<%= polaris_stack(alignment: :center) do |nested_stack| %>
<% nested_stack.with_item do %>
<%= polaris_icon(name: "DynamicSourceMajor", color: :base) %>
<%= polaris_stack(alignment: :center) do |nested_stack| %>
<% nested_stack.with_item do %>
<%= polaris_icon(name: "DynamicSourceMajor", color: :base) %>
<% end %>
<% nested_stack.with_item do %>
<%= polaris_text_strong { t("imports.source") } %><br>
<%= t("imports.sources.#{import.source}") %>
<% end %>
<% end %>
<% nested_stack.with_item do %>
<%= polaris_text_strong { t("imports.source") } %><br>
<%= t("imports.sources.#{import.source}") %>
<% end %>
<% end %>

<%= polaris_stack(alignment: :center) do |nested_stack| %>
<% nested_stack.with_item do %>
<%= polaris_icon(name: "CashDollarMajor", color: :base) %>
<%= polaris_stack(alignment: :center) do |nested_stack| %>
<% nested_stack.with_item do %>
<%= polaris_icon(name: "CashDollarMajor", color: :base) %>
<% end %>
<% nested_stack.with_item do %>
<%= polaris_text_strong { t("imports.imported") } %><br>
<%= number_with_delimiter(import.payments.count) %> <%= t("imports.payments") %>
<% end %>
<% end %>
<% nested_stack.with_item do %>
<%= polaris_text_strong { t("imports.imported") } %><br>
<%= number_with_delimiter(import.payments.count) %> <%= t("imports.payments") %>
<% end %>
<% end %>

<%= polaris_stack(alignment: :center) do |nested_stack| %>
<% nested_stack.with_item do %>
<%= polaris_icon(name: "CalendarTimeMinor", color: :base) %>
<%= polaris_stack(alignment: :center) do |nested_stack| %>
<% nested_stack.with_item do %>
<%= polaris_icon(name: "CalendarTimeMinor", color: :base) %>
<% end %>
<% nested_stack.with_item do %>
<%= polaris_text_strong { t("imports.metrics_date_range") } %><br>
<%= metrics_date_range_text(import)%>
<% end %>
<% end %>
<% nested_stack.with_item do %>
<%= polaris_text_strong { t("imports.metrics_date_range") } %><br>
<%= metrics_date_range_text(import)%>
<% end %>
<% end %>

<% end %>
<% end %>
<% end %>

0 comments on commit 7217bf4

Please sign in to comment.