##// END OF EJS Templates
Code cleanup....
Code cleanup. git-svn-id: http://svn.redmine.org/redmine/trunk@15073 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9885:6a2ca5e03427
r14691:e2a999743e97
Show More
_notes_form.html.erb
18 lines | 1.1 KiB | text/plain | TextLexer
/ app / views / journals / _notes_form.html.erb
Jean-Philippe Lang
Removes a call to form_remote_tag....
r9851 <%= form_tag({:controller => 'journals', :action => 'edit', :id => @journal},
:remote => true,
:id => "journal-#{@journal.id}-form") do %>
Toshi MARUYAMA
[#9489] added invisible label...
r7574 <%= label_tag "notes", l(:description_notes), :class => "hidden-for-sighted" %>
Jean-Philippe Lang
Adds wiki toolbar to notes editing form (#7899)....
r5120 <%= text_area_tag :notes, @journal.notes,
:id => "journal_#{@journal.id}_notes",
Toshi MARUYAMA
remove trailing white-spaces from app/views/journals/_notes_form.html.erb...
r7120 :class => 'wiki-edit',
Jean-Philippe Lang
Adds wiki toolbar to notes editing form (#7899)....
r5120 :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 a helper for preview links....
r9848 <%= preview_link preview_edit_issue_path(:project_id => @project, :id => @journal.issue),
"journal-#{@journal.id}-form",
"journal_#{@journal.id}_preview" %> |
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <%= link_to l(:button_cancel), '#', :onclick => "$('#journal-#{@journal.id}-form').remove(); $('#journal-#{@journal.id}-notes').show(); 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" %>