mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +08:00
Fix protocol creation from dashboard [SCI-7374]
This commit is contained in:
parent
1799361944
commit
05902d485b
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="quick-start-buttons">
|
<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>
|
<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) %>
|
<% if can_create_protocols_in_repository?(current_team) %>
|
||||||
<%= link_to protocols_path, {class: "new-protocol btn btn-secondary"} do %>
|
<%= button_to protocols_path(type: :public), class: 'btn btn-secondary' do %>
|
||||||
<i class="fas fa-edit"></i><%= t("dashboard.quick_start.new_protocol") %>
|
<i class="fas fa-edit"></i><%= t("dashboard.quick_start.new_protocol") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue