A wrong title when uploading documents #578

This commit is contained in:
Karel Picman 2016-10-10 15:49:22 +02:00
parent f2b47dcf3a
commit 8212351f46

View File

@ -27,9 +27,9 @@
<%= render(:partial => '/dmsf/path',
:locals => {:folder => @folder, :filename => nil, :title => l(:heading_uploaded_files)}) %>
<% if (@folder && @folder.description.present?) || @project.description.present? %>
<% if (@folder && @folder.description.present?) || @project.dmsf_description.present? %>
<div class="wiki">
<%= textilizable(@folder ? @folder.description : @project.description) %>
<%= textilizable(@folder ? @folder.description : @project.dmsf_description) %>
</div>
<% end %>