redmine_glossary/app/views/glossary_terms/show.html.erb

29 lines
766 B
Plaintext
Raw Normal View History

2018-05-05 14:04:21 +02:00
<div class="contextual">
<%= link_to l(:button_edit), edit_project_glossary_term_path, class: 'icon icon-edit' %>
<%= link_to l(:button_delete), project_glossary_term_path, method: :delete,
2018-05-05 15:59:12 +02:00
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
2018-05-05 14:04:21 +02:00
</div>
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
2018-05-04 02:40:20 +02:00
<h3><%= @term.name %></h3>
<table>
<tr>
<th><%=l :field_category %></th>
<td><%= @term.category.try!(:name) %>
</tr>
2018-05-04 02:40:20 +02:00
<tr>
<th><%=l :field_description %></th>
2018-05-04 02:40:20 +02:00
<td><%= @term.description %></td>
</tr>
<tr>
<th><%=l :field_created_on %></th>
<td><%= format_time(@term.created_at) %></td>
</tr>
<tr>
<th><%=l :field_updated_on %></th>
<td><%= format_time(@term.updated_at) %></td>
</tr>
2018-05-04 02:40:20 +02:00
</table>