2020-10-02 20:49:08 +08:00
|
|
|
<% unless current_user.is_guest_of_team?(current_team) %>
|
|
|
|
<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>
|
|
|
|
<%= link_to protocols_path, {class: "new-protocol btn btn-secondary"} do %>
|
|
|
|
<i class="fas fa-edit"></i><%= t("dashboard.quick_start.new_protocol") %>
|
|
|
|
<% end %>
|
2021-06-08 22:00:44 +08:00
|
|
|
<%= link_to new_report_path, {class: "new-report btn btn-secondary"} do %>
|
2020-10-02 20:49:08 +08:00
|
|
|
<i class="fas fa-clipboard-check"></i><%= t("dashboard.quick_start.new_report") %>
|
2020-02-26 22:40:28 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2020-10-02 20:49:08 +08:00
|
|
|
<%= render "create_task_modal" %>
|
|
|
|
<% end %>
|