diff --git a/templates/webapps/galaxy/history/share.mako b/templates/webapps/galaxy/history/share.mako deleted file mode 100644 index 4ab39f5326c..00000000000 --- a/templates/webapps/galaxy/history/share.mako +++ /dev/null @@ -1,287 +0,0 @@ -<% _=n_ %> -<%inherit file="/base.mako"/> -<%def name="title()">Share histories - -
-
Share ${len( histories)} histories
-
- %if not can_change and not cannot_change and not no_change_needed: - ## We are sharing histories that contain only public datasets -
-
Histories to be shared:
-
- - - - - - - %for history in histories: - - - - - %endfor - -
${_('History Name')}${_('Number of Datasets')}
- - ${ util.unicodify( history.name ) | h } - - %if len( history.datasets ) < 1: -
${_('This history contains no data.')}
- %else: - ${len(history.datasets)} - %endif -
-
-
-
- <% existing_emails = ','.join([ d.user.email for d in history.users_shared_with ]) %> - - %if trans.app.config.expose_user_email or trans.app.config.expose_user_name or trans.user_is_admin: - - - %else: - - - %endif -
- Enter a Galaxy user email address or a comma-separated list of addresses if sharing with multiple users -
-
- %if send_to_err: -
-
-
${send_to_err}
-
- %endif -
-
- -
-
- - %else: - ## We are sharing restricted histories - %if no_change_needed or can_change: -
- %if send_to_err: -
-
-
${send_to_err}
-
- %endif - ## Needed for rebuilding dicts - - %for history in histories: - - %endfor - %if no_change_needed: - ## no_change_needed looks like: {historyX : [hda, hda], historyY : [hda] } -
-
-
- The following datasets can be shared with ${email} with no changes -
-
- %for history, hdas in no_change_needed.items(): -
- - ${util.unicodify( history.name )} -
-
-
- -
- %for hda in hdas: -
- ${util.unicodify( hda.name )} - %if hda.deleted: - (deleted) - %endif -
- %endfor - %endfor - %endif - %if can_change: - ## can_change looks like: {historyX : [hda, hda], historyY : [hda] } -
-
-
- The following datasets can be shared with ${email} by updating their permissions -
-
- %for history, hdas in can_change.items(): -
- - ${util.unicodify( history.name )} -
-
-
- -
- %for hda in hdas: -
- ${util.unicodify( hda.name )} - %if hda.deleted: - (deleted) - %endif -
- %endfor - %endfor - %endif - %if cannot_change: - ## cannot_change looks like: {historyX : [hda, hda], historyY : [hda] } -
-
-
- The following datasets cannot be shared with ${email} because you are not authorized to - change the permissions on them -
-
- %for history, hdas in cannot_change.items(): -
- - ${util.unicodify( history.name )} -
-
-
- -
- %for hda in hdas: -
- ${util.unicodify( hda.name )} - %if hda.deleted: - (deleted) - %endif -
- %endfor - %endfor - %endif -
-
- -
- %if can_change: -
- Make datasets public so anyone can access them - %if cannot_change: - (where possible) - %endif -
-
- %if no_change_needed: - Make datasets private to me and the user(s) with whom I am sharing - %else: - Make datasets private to me and the user(s) with whom I am sharing - %endif - %if cannot_change: - (where possible) - %endif -
- %endif - %if no_change_needed: -
- Share anyway - %if can_change: - (don't change any permissions) - %endif -
- %endif -
-
-
-
- %endif - %endif -
-