##// END OF EJS Templates
Removed dead code....
Removed dead code. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8946 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7890:c3c2a4afe008
r8826:95811c8e4c42
Show More
show.html.erb
34 lines | 1.4 KiB | text/plain | TextLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Resourcified documents....
r7890 <% if User.current.allowed_to?(:manage_documents, @project) %>
<%= link_to l(:button_edit), edit_document_path(@document), :class => 'icon icon-edit', :accesskey => accesskey(:edit) %>
<%= link_to l(:button_delete), document_path(@document), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </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) %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/documents/show.html.erb...
r7142 <% end %>
Jean-Philippe Lang
Initial commit...
r2 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Etienne Massip
Remove unecessary page title HTML escaping from views (#9252)....
r7445 <% html_title @document.title -%>
Jean-Philippe Lang
Fixed: code syntax highlighting not working in Document page (#3740)....
r3489
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>