mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
14 lines
681 B
Text
14 lines
681 B
Text
<div class="quick-start-buttons">
|
|
<div class="new-task btn btn-secondary"><i class="fas fa-plus"></i><%= t("dashboard.quick_start.new_task") %></div>
|
|
<% if can_create_protocols_in_repository?(current_team) %>
|
|
<%= button_to protocols_path(type: :public), class: 'btn btn-secondary' do %>
|
|
<i class="fas fa-edit"></i><%= t("dashboard.quick_start.new_protocol") %>
|
|
<% end %>
|
|
<% end %>
|
|
<% if can_create_reports?(current_team) %>
|
|
<%= link_to new_report_path, {class: "new-report btn btn-secondary"} do %>
|
|
<i class="fas fa-clipboard-check"></i><%= t("dashboard.quick_start.new_report") %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|
|
<%= render "create_task_modal" %>
|