mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@19833 e93f8b46-1217-0410-a6f0-8f06a7374b81
14 lines
868 B
Plaintext
14 lines
868 B
Plaintext
<% if @journal.frozen? %>
|
|
$("#change-<%= @journal.id %>").remove();
|
|
<% else %>
|
|
$("#change-<%= @journal.id %>").attr('class', '<%= @journal.css_classes %>');
|
|
$("#change-<%= @journal.id %> .journal-actions").html('<%= escape_javascript(render_journal_actions(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
|
|
$("#journal-<%= @journal.id %>-private_notes").replaceWith('<%= escape_javascript(render_private_notes_indicator(@journal)) %>');
|
|
$("#journal-<%= @journal.id %>-notes").replaceWith('<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
|
|
$("#journal-<%= @journal.id %>-notes").show();
|
|
$("#journal-<%= @journal.id %>-form").remove();
|
|
setupWikiTableSortableHeader();
|
|
<% end %>
|
|
|
|
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|