mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Move print button for shared repository in view mode [SCI-7277] (#4550)
This commit is contained in:
parent
9639e30c72
commit
0a56d772b7
1 changed files with 1 additions and 1 deletions
|
@ -64,8 +64,8 @@
|
|||
</button>
|
||||
</span>
|
||||
<% elsif @repository.shared_with_read?(current_team) %>
|
||||
<%= render partial: 'repositories/toolbar/print_label_button' %>
|
||||
<p class="view-only-label"><%= t('repositories.index.view_only_permission_label') %></p>
|
||||
<%= render partial: 'repositories/toolbar/print_label_button' %>
|
||||
<% elsif can_read_repository?(@repository) %>
|
||||
<%= render partial: 'repositories/toolbar/print_label_button' %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue