Skip to content

Commit

Permalink
Merge pull request #1 from thimios/fix-ui-for-upcoming-as-major-release
Browse files Browse the repository at this point in the history
keep UI working with the latest ArchivesSpace code
  • Loading branch information
jambun authored Aug 21, 2024
2 parents 897f45c + c0de437 commit 19463cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/views/layout_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<%= javascript_include_tag "#{AppConfig[:frontend_proxy_prefix]}assets/child_publisher.js" %>

<script type="text/template" id="childPublisherPublishButtonTemplate">
<%= link_to I18n.t("plugins.child_publisher.publish_toolbar_button"), {:controller => :child_publisher, :action => :publish_children, :uri => 'CP_AO_URI'} %>
<%= link_to I18n.t("plugins.child_publisher.publish_toolbar_button"), {:controller => :child_publisher, :action => :publish_children, :uri => 'CP_AO_URI'}, :class => 'dropdown-item' %>
</script>

<script type="text/template" id="childPublisherUnpublishButtonTemplate">
<%= link_to I18n.t("plugins.child_publisher.unpublish_toolbar_button"), {:controller => :child_publisher, :action => :unpublish_children, :uri => 'CP_AO_URI'} %>
<%= link_to I18n.t("plugins.child_publisher.unpublish_toolbar_button"), {:controller => :child_publisher, :action => :unpublish_children, :uri => 'CP_AO_URI'}, :class => 'dropdown-item' %>
</script>

<% end %>

0 comments on commit 19463cd

Please sign in to comment.