Corrección de errores y mejoras en la visualización del glosario

This commit is contained in:
Manuel Cillero 2019-01-30 01:01:36 +01:00
parent 693eb3ee50
commit c6568888b1
9 changed files with 25 additions and 19 deletions

View file

@ -1,12 +1,16 @@
<% term = show_one %>
<% if !@show_params.empty? %>
<table class="term_items">
<% for prm in @show_params %>
<tr><th><%=h label_param(prm) %>:</th><td><%= term.value(prm) %></td></tr>
<% end %>
</table>
<% end %>
<% unless (term.description.empty?) %>
<% if !@show_params.empty? %>
<strong><%=l(:field_description)%></strong>:
<% end %>
<div class="wiki">
<%= textilizable term, :description, :attachments => term.attachments %>
</div>