mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
fixes canvas bug when no actions are available for the viewer
This commit is contained in:
parent
6c5cc8aac9
commit
cc2ed32ccb
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
</span>
|
||||
<% end %>
|
||||
|
||||
<div id="zoom-level-buttons" class="btn-group pull-right" data-toggle="buttons">
|
||||
<div id="zoom-level-buttons" class="btn-group <%= 'pull-right' if can_edit_canvas(@experiment) && can_create_experiment(@project) %>" data-toggle="buttons">
|
||||
<%=link_to canvas_full_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-primary active", "data-action" => "full_zoom", "data-toggle" => "button", "aria-pressed" => true do %>
|
||||
<span class="glyphicon glyphicon-th-large" aria-hidden="true" ></span>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue