##// END OF EJS Templates
Fixed version field on issue view page now links to the corresponding version in the roadmap....
Fixed version field on issue view page now links to the corresponding version in the roadmap. git-svn-id: http://redmine.rubyforge.org/svn/trunk@562 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r549:b2d4666bf1f7
r559:2dbb3978184e
Show More
show.rhtml
36 lines | 1.8 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
<%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>
<h2><%= @document.title %></h2>
<p><em><%= @document.category.name %><br />
<%= format_date @document.created_on %></em></p>
Jean-Philippe Lang
Attachments can be displayed inline in Documents...
r549 <%= textilizable @document.description, :attachments => @document.attachments %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <br />
<h3><%= l(:label_attachment_plural) %></h3>
Jean-Philippe Lang
misc GUI modifications...
r114 <ul class="documents">
Jean-Philippe Lang
association loading in documents/show...
r22 <% for attachment in @attachments %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <li>
<div class="contextual">
<%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy_attachment', :id => @document, :attachment_id => attachment}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>
<%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %>
(<%= number_to_human_size attachment.filesize %>)<br />
Jean-Philippe Lang
documents views modified...
r58 <em><%= attachment.author.display_name %>, <%= format_date(attachment.created_on) %></em><br />
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= lwr(:label_download, attachment.downloads) %>
</li>
<% end %>
</ul>
<br />
<% if authorize_for('documents', 'add_attachment') %>
Jean-Philippe Lang
Form to add an attachment on document view is now togglable....
r434 <p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p>
Jean-Philippe Lang
Removed some parentheses before arguments....
r466 <% form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :class => "tabular", :id => "add_attachment_form", :style => "display:none;") do %>
Jean-Philippe Lang
Slight views refactoring...
r545 <%= render :partial => 'attachments/form' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= submit_tag l(:button_add) %>
<% end %>
Jean-Philippe Lang
Initial commit...
r2 <% end %>