Nuevo plugin Redmine Glossary 0.9.2
This commit is contained in:
parent
5d298a7529
commit
693eb3ee50
72 changed files with 2962 additions and 0 deletions
29
plugins/redmine_glossary/app/views/glossary/show.html.erb
Executable file
29
plugins/redmine_glossary/app/views/glossary/show.html.erb
Executable file
|
@ -0,0 +1,29 @@
|
|||
<div class="contextual">
|
||||
<%= link_to_if_authorized(l(:button_edit), {:controller => 'glossary', :action => 'edit', :project_id => @project, :id => @term}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
|
||||
<%= link_to_if_authorized l(:button_delete), {:controller => 'glossary', :action => 'destroy', :project_id => @project, :id => @term}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
|
||||
</div>
|
||||
|
||||
<h2><%= l(:label_term) %> #<%= @term.id %></h2>
|
||||
|
||||
<div class="term" >
|
||||
|
||||
<h3><%=h @term.name %> </h3>
|
||||
<%= render(:partial => "glossary/show_one", :object => @term) %>
|
||||
|
||||
<p class="author">
|
||||
<%= authoring @term.created_on, @term.author %>.
|
||||
<% if @term.created_on != @term.updated_on
|
||||
if (@term.author_id == @term.updater_id) %>
|
||||
<%= l(:label_updated_time, time_tag(@term.updated_on)).html_safe + '.' %>
|
||||
<% else %>
|
||||
<%= updated_by(@term.updated_on, @term.updater) + '.' %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<%= render :partial => 'glossary/view_term' %>
|
||||
|
||||
<% html_title "##{@term.id}: #{@term.name}" -%>
|
Loading…
Add table
Add a link
Reference in a new issue