diff --git a/lib/galaxy/webapps/galaxy/controllers/page.py b/lib/galaxy/webapps/galaxy/controllers/page.py index 9a8a5949af0..7d9c1b45957 100644 --- a/lib/galaxy/webapps/galaxy/controllers/page.py +++ b/lib/galaxy/webapps/galaxy/controllers/page.py @@ -496,7 +496,7 @@ class PageController( BaseUIController, SharableMixin, session.flush() return trans.fill_template( "/sharing_base.mako", - item=page, use_panels=True ) + item=page, controller_list='pages', use_panels=True ) @web.expose @web.require_login( "use Galaxy pages" ) diff --git a/templates/sharing_base.mako b/templates/sharing_base.mako index 4e61e0a54ed..1cb7dc766a3 100644 --- a/templates/sharing_base.mako +++ b/templates/sharing_base.mako @@ -73,6 +73,7 @@ ## Set use_panels var for use in page's URLs. <% use_panels = context.get('use_panels', False) %> <% controller_name = get_controller_name( item ) %> + <% controller_list = context.get('controller_list', controller_name) %> ## Render message. %if message: @@ -142,7 +143,7 @@ %if item.published: - This ${item_class_name_lc} is publicly listed and searchable in Galaxy's Published ${item_class_plural_name} section. + This ${item_class_name_lc} is publicly listed and searchable in Galaxy's Published ${item_class_plural_name} section. %endif @@ -155,16 +156,16 @@