git-svn-id: https://192.168.0.254/svn/Rodax.redmine_rodax_crm/trunk@2 ff88604e-da85-c949-a72f-fc3aa3ba3724
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
<div class="contextual">
|
|
<%= link_to_if_authorized(l(:button_edit), {:controller => 'notes', :action => 'edit', :project_id => @project, :note_id => @note}, :class => 'icon icon-edit', :title => l(:button_edit)) %>
|
|
</div>
|
|
|
|
|
|
<%= breadcrumb link_to(@note.source.name, note_source_url(@note.source)) %>
|
|
|
|
<%= render :partial => 'note_header', :object => @note %>
|
|
<% @note.custom_values.each do |custom_value| %>
|
|
<% if !custom_value.value.blank? %>
|
|
<p><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></p>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<div class="box wiki note">
|
|
<%= textilizable(@note, :content) %>
|
|
<%= auto_thumbnails(@note) %>
|
|
</div>
|
|
|
|
<%= link_to_attachments @note, :author => false %>
|
|
|
|
|
|
<% html_title "#{l(:label_note_for)} #{@note.source.name}" %>
|
|
|
|
<% content_for :sidebar do %>
|
|
<%= render :partial => 'common/sidebar' %>
|
|
|
|
<%= render :partial => 'common/recently_viewed' %>
|
|
<% end %>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= javascript_include_tag :defaults %>
|
|
<%= javascript_include_tag :contacts, :plugin => 'redmine_contacts' %>
|
|
<%= stylesheet_link_tag :contacts, :plugin => 'redmine_contacts' %>
|
|
<%= stylesheet_link_tag :contacts_sidebar, :plugin => 'redmine_contacts' %>
|
|
<% end %> |