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 @@
Disables ${item_class_name_lc}'s link so that it is not accessible.

-
Publishes the ${item_class_name_lc} to Galaxy's Published ${item_class_plural_name} section, where it is publicly listed and searchable.
+
Publishes the ${item_class_name_lc} to Galaxy's Published ${item_class_plural_name} section, where it is publicly listed and searchable.

%else: ## item.published == True ## Item is importable and published. User can unpublish or disable import and unpublish. -
Removes this ${item_class_name_lc} from Galaxy's Published ${item_class_plural_name} section so that it is not publicly listed or searchable.
+
Removes this ${item_class_name_lc} from Galaxy's Published ${item_class_plural_name} section so that it is not publicly listed or searchable.

-
Disables this ${item_class_name_lc}'s link so that it is not accessible and removes ${item_class_name_lc} from Galaxy's Published ${item_class_plural_name} section so that it is not publicly listed or searchable.
+
Disables this ${item_class_name_lc}'s link so that it is not accessible and removes ${item_class_name_lc} from Galaxy's Published ${item_class_plural_name} section so that it is not publicly listed or searchable.
%endif @@ -179,7 +180,7 @@
-
Makes the ${item_class_name_lc} accessible via link (see above) and publishes the ${item_class_name_lc} to Galaxy's Published ${item_class_plural_name} section, where it is publicly listed and searchable.
+
Makes the ${item_class_name_lc} accessible via link (see above) and publishes the ${item_class_name_lc} to Galaxy's Published ${item_class_plural_name} section, where it is publicly listed and searchable.
%endif @@ -239,5 +240,5 @@ %endif

- Back to ${item_class_plural_name} List + Back to ${item_class_plural_name} List