mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@16900 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
834 B
Plaintext
13 lines
834 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();
|
|
<% end %>
|
|
|
|
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|