##// END OF EJS Templates
Refactor: Merged AuthSourcesController#list and #index...
Refactor: Merged AuthSourcesController#list and #index git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3436 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2114:5d2899ee1b3e
r3322:c5f30fde2872
Show More
show.rhtml
28 lines | 1.3 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Added some accesskeys:...
r793 <%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'icon icon-edit', :accesskey => accesskey(:edit) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= 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>
Jean-Philippe Lang
More detailed html title on several views....
r951 <h2><%=h @document.title %></h2>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
More detailed html title on several views....
r951 <p><em><%=h @document.category.name %><br />
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= format_date @document.created_on %></em></p>
Jean-Philippe Lang
Fixed: table of content not rendered properly when used in an issue or document description....
r1022 <div class="wiki">
Jean-Philippe Lang
Attachments can be displayed inline in Documents...
r549 <%= textilizable @document.description, :attachments => @document.attachments %>
Jean-Philippe Lang
Fixed: table of content not rendered properly when used in an issue or document description....
r1022 </div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
<h3><%= l(:label_attachment_plural) %></h3>
Jean-Philippe Lang
AttachmentsController now handles attachments deletion....
r2114 <%= link_to_attachments @document %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
<% if authorize_for('documents', 'add_attachment') %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <p><%= link_to l(:label_attachment_new), {}, :onclick => "Element.show('add_attachment_form'); Element.hide(this); Element.scrollTo('add_attachment_form'); return false;",
:id => 'attach_files_link' %></p>
<% form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %>
<div class="box">
<p><%= render :partial => 'attachments/form' %></p>
</div>
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 %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title @document.title -%>