<% if proposal.published? %> <% content_for :action_title, t("dashboard.progress.title") %>
<%= link_to t("dashboard.progress.group_by_date"), progress_proposal_dashboard_path(proposal), class: "button #{daily_selected_class}" %> <%= link_to t("dashboard.progress.group_by_week"), progress_proposal_dashboard_path(proposal, group_by: 'week'), class: "button #{weekly_selected_class}" %> <%= link_to t("dashboard.progress.group_by_month"), progress_proposal_dashboard_path(proposal, group_by: 'month'), class: "button #{monthly_selected_class}" %>
" data-proposal-graph-supports-label="<%= t("dashboard.progress.supports") %>" data-proposal-graph-success-label="<%= t("dashboard.progress.success") %>" data-proposal-success="<%= Setting["votes_for_proposal_success"] %>" data-proposal-resources-url="<%= proposal_dashboard_resources_path(proposal, format: :json) %>" class="c3 proposal-graph" style="max-height: 320px; position: relative;">
<%= javascript_include_tag 'dashboard_graphs', 'data-turbolinks-track' => true %> <% end %> <%= render 'next_goal' %> <%= render 'recommended_actions' %> <%= render 'resources' %>