Also available in with no options
This commit is contained in:
parent
b309371a34
commit
ed71944b17
@ -82,9 +82,11 @@
|
|||||||
|
|
||||||
<%= context_menu %>
|
<%= context_menu %>
|
||||||
|
|
||||||
<% unless @folder && @folder.system %>
|
<% if !@folder&.system && (@project || Setting.plugin_redmine_dmsf['dmsf_webdav'].present?) %>
|
||||||
<% other_formats_links do |f| %>
|
<% other_formats_links do |f| %>
|
||||||
<%= f.link_to 'CSV', url: { action: :show, id: @project, folder_id: @folder, encoding: Encoding::UTF_8 } if @project %>
|
<% if @project %>
|
||||||
|
<%= f.link_to 'CSV', url: { action: :show, id: @project, folder_id: @folder, encoding: Encoding::UTF_8 } %>
|
||||||
|
<% end %>
|
||||||
<% if Setting.plugin_redmine_dmsf['dmsf_webdav'].present? %>
|
<% if Setting.plugin_redmine_dmsf['dmsf_webdav'].present? %>
|
||||||
<span>
|
<span>
|
||||||
<%= link_to 'WebDAV', webdav_url(@project, @folder), class: 'webdav' %>
|
<%= link_to 'WebDAV', webdav_url(@project, @folder), class: 'webdav' %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user