mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
13 lines
387 B
Text
13 lines
387 B
Text
|
<% if wopi_enabled? %>
|
||
|
<li>
|
||
|
<%= link_to create_wopi_file_path,
|
||
|
class: 'create-wopi-file-btn',
|
||
|
target: '_blank',
|
||
|
title: 'Create_new_file',
|
||
|
data: { 'id': element_id, 'type': element_type, } do %>
|
||
|
<%= image_tag 'office/office.svg' %>
|
||
|
<%=t 'assets.create_wopi_file.li_text' %>
|
||
|
<% end %>
|
||
|
</li>
|
||
|
<% end %>
|