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

@ -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 %>