diff --git a/app/views/glossary_terms/show.html.erb b/app/views/glossary_terms/show.html.erb index 60b7229..51253c7 100644 --- a/app/views/glossary_terms/show.html.erb +++ b/app/views/glossary_terms/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'glossary', plugin: 'redmine_glossary' %> +<% end %> +
<%= link_to_if_authorized l(:button_edit), { controller: :glossary_terms, action: :edit, project_id: @project }, @@ -14,41 +18,41 @@

<%= @term.name %>

- +
- + - + - + - + - + - + - + - + - +
<%=l :field_name_en %><%=l :field_name_en %>: <%= @term.name_en %>
<%=l :field_rubi %><%=l :field_rubi %>: <%= @term.rubi %>
<%=l :field_abbr_whole %><%=l :field_abbr_whole %>: <%= @term.abbr_whole %>
<%=l :field_datatype %><%=l :field_datatype %>: <%= @term.datatype %>
<%=l :field_codename %><%=l :field_codename %>: <%= @term.codename %>
<%=l :field_category %><%=l :field_category %>: <%= @term.category.try!(:name) %>
<%=l :field_description %><%=l :field_description %>:
<%= textilizable @term, :description %>
<%=l :field_created_on %><%=l :field_created_on %>: <%= format_time(@term.created_at) %>
<%=l :field_updated_on %><%=l :field_updated_on %>: <%= format_time(@term.updated_at) %>
diff --git a/assets/stylesheets/glossary.css b/assets/stylesheets/glossary.css new file mode 100644 index 0000000..3311cff --- /dev/null +++ b/assets/stylesheets/glossary.css @@ -0,0 +1,4 @@ +table.term th { + text-align: right; + vertical-align: top; +}