##// END OF EJS Templates
Localize anonymous and non member roles names (#8072)....
Localize anonymous and non member roles names (#8072). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5333 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r5126:13d6b3129b94
r5213:44214ed1aad3
Show More
_notes_form.rhtml
21 lines | 1.3 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Administrators can edit issue notes....
r1091 <% form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %>
Jean-Philippe Lang
Adds wiki toolbar to notes editing form (#7899)....
r5120 <%= text_area_tag :notes, @journal.notes,
:id => "journal_#{@journal.id}_notes",
:class => 'wiki-edit',
:rows => (@journal.notes.blank? ? 10 : [[10, @journal.notes.length / 50].max, 100].min) %>
Eric Davis
Added plugin hooks around Journal editing...
r2119 <%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %>
Jean-Philippe Lang
Administrators can edit issue notes....
r1091 <p><%= submit_tag l(:button_save) %>
Jean-Philippe Lang
Adds support for preview when editing an issue note (#5520)....
r5126 <%= link_to_remote l(:label_preview),
{ :url => preview_issue_path(:project_id => @project, :id => @journal.issue),
:method => 'post',
:update => "journal_#{@journal.id}_preview",
:with => "Form.serialize('journal-#{@journal.id}-form')",
:complete => "Element.scrollTo('journal_#{@journal.id}_preview')"
}, :accesskey => accesskey(:preview) %>
|
Jean-Philippe Lang
Administrators can edit issue notes....
r1091 <%= link_to l(:button_cancel), '#', :onclick => "Element.remove('journal-#{@journal.id}-form'); " +
"Element.show('journal-#{@journal.id}-notes'); return false;" %></p>
Jean-Philippe Lang
Adds support for preview when editing an issue note (#5520)....
r5126
<div id="journal_<%= @journal.id %>_preview" class="wiki"></div>
Jean-Philippe Lang
Administrators can edit issue notes....
r1091 <% end %>
Jean-Philippe Lang
Adds wiki toolbar to notes editing form (#7899)....
r5120 <%= wikitoolbar_for "journal_#{@journal.id}_notes" %>