##// END OF EJS Templates
Reverting commit r1748. Some environments are not allowing the cached file to...
Reverting commit r1748. Some environments are not allowing the cached file to write to public, causing all JavaScript to fail. Javascripts are now cached into a single file for downloads in production mode. #1186 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1166:9daf39ec5242
r1770:8f3a04ce6906
Show More
show.rhtml
28 lines | 1.5 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
Adds an optional description to attachments....
r1166 <%= link_to_attachments @attachments, :delete_url => (authorize_for('documents', 'destroy_attachment') ? {:controller => 'documents', :action => 'destroy_attachment', :id => @document} : nil) %>
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 -%>