mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #2103 from urbanrotnik/ur-sci-3936-permission-issue
Add permission check for button show [SCI-3936]
This commit is contained in:
commit
4b626ab2dd
1 changed files with 32 additions and 32 deletions
|
@ -1,5 +1,4 @@
|
|||
<% if can_manage_protocol_in_module?(@protocol) ||
|
||||
can_manage_protocol_in_repository?(@protocol) %>
|
||||
<% if can_manage_protocol_in_module?(@protocol) || can_manage_protocol_in_repository?(@protocol) %>
|
||||
<div class="row">
|
||||
<div class="pull-left" style="margin: 0 0 20px 15px;">
|
||||
<a href="#"
|
||||
|
@ -25,7 +24,7 @@
|
|||
<%= render partial: "steps/step.html.erb", locals: { step: step } %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% if can_manage_protocol_in_module?(@protocol) || can_manage_protocol_in_repository?(@protocol) %>
|
||||
<div class="row">
|
||||
<div class="pull-left" style="margin: 0 0 20px 15px;">
|
||||
<a href="#"
|
||||
|
@ -38,6 +37,7 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= javascript_include_tag "handsontable.full.min" %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue