<%= toolbar(title: l("timelines.reporting_for_project.show", title: link_to_project(@reporting.reporting_to_project)).html_safe) do %> <% if show_actions %> <% if authorize_for :reportings, :edit %>
  • <%= link_to edit_project_reporting_path(@project, @reporting), class: 'button' do %> <%= l(:button_edit) %> <% end %>
  • <% end %> <% if authorize_for :reportings, :destroy %> <%= link_to confirm_destroy_project_reporting_path(@project, @reporting), class: 'button' do %> <%= l(:button_delete) %> <% end %> <% end %> <% end %> <% end %>