Custom Fields not shown on folder level #1348
This commit is contained in:
parent
a1d99e1805
commit
63b246063f
@ -25,5 +25,14 @@
|
||||
<div class="wiki dmsf-description">
|
||||
<%= textilizable @folder ? @folder.description : @project.dmsf_description %>
|
||||
</div>
|
||||
<% if @folder && @folder.custom_field_values.any? { |o| o.value.present? } %>
|
||||
<ul>
|
||||
<% render_custom_field_values(@folder) do |custom_field, formatted| %>
|
||||
<li class="<%= custom_field.css_classes %>">
|
||||
<span class="label"><%= custom_field.name %>:</span> <%= formatted %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user