view app/views/journals/update.js.erb @ 1514:d8de7203e3a8 live

Remove en-GB translations -- they are out of date, and in our site en.yml is British anyway
author Chris Cannam
date Wed, 30 Apr 2014 17:25:58 +0100
parents 433d4f72a19b
children
line wrap: on
line source
<% if @journal.frozen? %>
  $("#change-<%= @journal.id %>").remove();
<% else %>
  $("#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 }) %>