Corrección de errores y mejoras en la visualización del glosario
This commit is contained in:
parent
693eb3ee50
commit
c6568888b1
9 changed files with 25 additions and 19 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue