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
|
@ -9,7 +9,7 @@ if params[:search_index_ch]
|
|||
subtitlle = "- #{params[:search_index_ch]} -"
|
||||
end %>
|
||||
|
||||
<h1><%= t('glossary_title') %> <%= subtitlle %> </h1>
|
||||
<h2><%= t('glossary_title') %> <%= subtitlle %> </h2>
|
||||
|
||||
<br />
|
||||
<% if User.current.allowed_to?(:view_terms, @project, :global => true) %>
|
||||
|
@ -22,7 +22,7 @@ end %>
|
|||
<% if @glossary_style.grouping? %>
|
||||
<% list_number = 1 %>
|
||||
<% @terms.each do |gterms| %>
|
||||
<h2><%= "#{list_number}. #{gterms.name}" %></h2>
|
||||
<h3><%= "#{list_number}. #{gterms.name}" %></h3>
|
||||
<% list_number += 1 %>
|
||||
<%= render(:partial => tempname, :object => gterms.ary) %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue