scinote-web/app/views/reports/_index_toolbar.html.erb
2023-06-08 10:33:37 +04:00

8 lines
340 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="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span class="hidden-xs"><%= t("projects.reports.index.new") %></span>
<% end %>
</div>
<% end %>