diff --git a/app/components/goals/card_component.html.erb b/app/components/goals/card_component.html.erb index 51684e8fd..7e2174885 100644 --- a/app/components/goals/card_component.html.erb +++ b/app/components/goals/card_component.html.erb @@ -46,10 +46,10 @@
<%= pace_line %>
+<%= pace_line %>
<% end %><%= account.name %>
<%= (account.subtype || subtype).titleize %>
- <%= Money.new(account.balance, account.currency).format %> + <%= Money.new(account.balance, account.currency).format %> <% end %> diff --git a/app/views/goals/_form_stepper.html.erb b/app/views/goals/_form_stepper.html.erb index 06471bfcc..a9cb8481d 100644 --- a/app/views/goals/_form_stepper.html.erb +++ b/app/views/goals/_form_stepper.html.erb @@ -86,7 +86,7 @@<%= account.name %>
<%= (account.subtype || subtype).titleize %>
- <%= Money.new(account.balance, account.currency).format %> + <%= Money.new(account.balance, account.currency).format %> <% end %> @@ -115,11 +115,11 @@ <%= render DS::FilledIcon.new(variant: :container, icon: "target", size: "lg", rounded: false) %>…
-…
+…
…
+…
diff --git a/app/views/goals/_pending_pledge_banner.html.erb b/app/views/goals/_pending_pledge_banner.html.erb index 5b716a5c9..0a0049083 100644 --- a/app/views/goals/_pending_pledge_banner.html.erb +++ b/app/views/goals/_pending_pledge_banner.html.erb @@ -10,7 +10,7 @@ <%= icon("info", size: "sm") %>- <%= title %> + <%= title %> · <%= t("goals.show.pending_pledge.pledged_at", time_ago: time_ago_in_words(pledge.created_at)) %>
<%= t(body_key) %>
diff --git a/app/views/goals/_status_callout.html.erb b/app/views/goals/_status_callout.html.erb index 2c6521d74..a2c609ad3 100644 --- a/app/views/goals/_status_callout.html.erb +++ b/app/views/goals/_status_callout.html.erb @@ -24,5 +24,5 @@ <%= icon(icon_glyph, size: "sm") %> <%= label %> · - <%= context %> + "><%= context %><%= @goal.header_summary %>
+<%= @goal.header_summary %>
<% last_days = @goal.last_matched_pledge_days_ago %> <% unless last_days.nil? %>@@ -122,7 +122,7 @@ <%= render Goals::ProgressRingComponent.new(goal: @goal, size: 180) %>
<%= @goal.current_balance_money.format(precision: 0) %>
<% unless @goal.completed? %> -<%= t(".ring.to_go", amount: @goal.remaining_amount_money.format(precision: 0)) %>
+<%= t(".ring.to_go", amount: @goal.remaining_amount_money.format(precision: 0)) %>
<% end %> <% unless @goal.completed? || @goal.status == :reached || @goal.paused? || @goal.archived? %> <%# Single Record pledge entry point on the page. Pre-filled with the @@ -149,7 +149,7 @@+
<%= t(".inactive.body", saved: @goal.current_balance_money.format(precision: 0), target: @goal.target_amount_money.format(precision: 0)) %>
<%= t(".celebration.body", saved: @goal.current_balance_money.format(precision: 0), target: @goal.target_amount_money.format(precision: 0)) %>
+<%= t(".celebration.body", saved: @goal.current_balance_money.format(precision: 0), target: @goal.target_amount_money.format(precision: 0)) %>
<% if @goal.may_archive? %><%= sanitize @goal.projection_summary %>
<% if @goal.status == :behind && @goal.monthly_target_amount %> -+
<%= t("goals.show.catch_up.body", avg: @goal.pace_money.format(precision: 0), required: Money.new(@goal.monthly_target_amount, @goal.currency).format(precision: 0)) %>
<% end %>