diff --git a/app/views/goals/show.html.erb b/app/views/goals/show.html.erb index 1d0d0c6c2..5d518e3f9 100644 --- a/app/views/goals/show.html.erb +++ b/app/views/goals/show.html.erb @@ -243,6 +243,12 @@ <%= t(".projection.legend_projection") %> + <% if @goal.monthly_target_amount.to_d.positive? && @goal.remaining_amount.to_d.positive? %> + + + <%= t(".projection.legend_required") %> + + <% end %> <% end %> diff --git a/config/locales/views/goals/en.yml b/config/locales/views/goals/en.yml index 584a6bdc6..24c2226c6 100644 --- a/config/locales/views/goals/en.yml +++ b/config/locales/views/goals/en.yml @@ -127,6 +127,7 @@ en: heading: Projection legend_saved: Saved legend_projection: Projection + legend_required: Required reached: Goal reached. Nice work. no_target_date: No target date set. Set one to project a finish line. no_pace: No inflow yet. Make a transfer or update the balance to start a projection.