##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r15119:53710d80fc88
Show More
show.html.erb
41 lines | 1.5 KiB | text/plain | TextLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Split "Manage documents" permission into create, edit and delete permissions (#12401)....
r10976 <% if User.current.allowed_to?(:edit_documents, @project) %>
Jean-Philippe Lang
Resourcified documents....
r7890 <%= link_to l(:button_edit), edit_document_path(@document), :class => 'icon icon-edit', :accesskey => accesskey(:edit) %>
Jean-Philippe Lang
Split "Manage documents" permission into create, edit and delete permissions (#12401)....
r10976 <% end %>
<% if User.current.allowed_to?(:delete_documents, @project) %>
Jean-Philippe Lang
Deprecated :confirm => 'Text' option....
r9754 <%= delete_link document_path(@document) %>
Jean-Philippe Lang
Resourcified documents....
r7890 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <h2><%= @document.title %></h2>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <p><em><%= @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
Adds custom fields to documents (#7249)....
r13622
<% if @document.custom_field_values.any? %>
<ul>
<% render_custom_field_values(@document) do |custom_field, formatted| %>
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
<% end %>
</ul>
<% end %>
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
Fixed: "obj" parameter is not defined for macros used in description of documents (#13821)....
r11531 <%= 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
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <p><%= link_to l(:label_attachment_new), {}, :onclick => "$('#add_attachment_form').show(); return false;",
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 :id => 'attach_files_link' %></p>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <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 -%>