scinote-web/app/views/reports/_index_toolbar.html.erb
aignatov-bio 1da074bc2a
Merge pull request #5461 from G-Chubinidze/gc_SCI_8370
Revamp of (top) toolbar - Reports [SCI-8370]
2023-05-24 12:07:17 +02:00

8 lines
327 B
Text

<% if can_create_reports?(current_team) %>
<div class="sci-btn-group">
<%= link_to new_report_path, class: 'btn btn-primary', id: 'new-report-btn' do %>
<span class="fas fa-plus" aria-hidden="true"></span>
<span class="hidden-xs"><%= t("projects.reports.index.new") %></span>
<% end %>
</div>
<% end %>