From c2b9042ad7ca965507e86cb47401f5c5ab7fb4e4 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Wed, 27 Jun 2018 09:28:47 -0400 Subject: [PATCH] Add 'Execution' tab to a finished Budget stats This tab will show all winner investments projects with milestones --- app/views/budgets/stats/show.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/budgets/stats/show.html.erb b/app/views/budgets/stats/show.html.erb index 4c976343a..180834fe5 100644 --- a/app/views/budgets/stats/show.html.erb +++ b/app/views/budgets/stats/show.html.erb @@ -34,6 +34,11 @@
  • <%= link_to t("budgets.stats.link"), budget_stats_path(@budget), class: "is-active" %>
  • + <% if @budget.finished? %> +
  • + <%= link_to t("budgets.executions.link"), budget_executions_path(@budget) %> +
  • + <% end %>