[2] | 1 | <% _=n_ %> |
---|
| 2 | <%inherit file="/base.mako"/> |
---|
| 3 | <%def name="title()">History options</%def> |
---|
| 4 | |
---|
| 5 | <h2>${_('History Options')}</h2> |
---|
| 6 | |
---|
| 7 | %if not user: |
---|
| 8 | <div class="infomessage"> |
---|
| 9 | <div>${_('You must be ')}<a target="galaxy_main" href="${h.url_for( controller='user', action='login' )}">${_('logged in')}</a>${_(' to store or switch histories.')}</div> |
---|
| 10 | </div> |
---|
| 11 | %endif |
---|
| 12 | |
---|
| 13 | <ul> |
---|
| 14 | %if user: |
---|
| 15 | <li><a href="${h.url_for( controller='history', action='list')}" target="galaxy_main">Previously</a> stored histories</li> |
---|
| 16 | %if len( history.active_datasets ) > 0: |
---|
| 17 | <li><a href="${h.url_for( controller='root', action='history_new' )}">Create</a> a new empty history</li> |
---|
| 18 | <li><a href="${h.url_for( controller='workflow', action='build_from_current_history' )}">Construct workflow</a> from current history</li> |
---|
| 19 | <li><a href="${h.url_for( controller='history', action='clone', id=trans.security.encode_id( history.id ) )}">Clone</a> current history</li> |
---|
| 20 | %endif |
---|
| 21 | <li><a href="${h.url_for( controller='history', action='share' )}" target="galaxy_main">Share</a> current history</div> |
---|
| 22 | <li><a href="${h.url_for( controller='root', action='history_set_default_permissions' )}">Change default permissions</a> for current history</li> |
---|
| 23 | %endif |
---|
| 24 | %if len( history.activatable_datasets ) > 0: |
---|
| 25 | <li><a href="${h.url_for( controller='root', action='history', show_deleted=True)}" target="galaxy_history">Show deleted</a> datasets in current history</li> |
---|
| 26 | %endif |
---|
| 27 | <li><a href="${h.url_for( controller='history', action='rename', id=trans.security.encode_id( history.id ) )}" target="galaxy_main">Rename</a> current history (stored as "${history.name}")</li> |
---|
| 28 | <li><a href="${h.url_for( controller='history', action='delete_current' )}" confirm="Are you sure you want to delete the current history?">Delete</a> current history</div> |
---|
| 29 | %if user and user.histories_shared_by_others: |
---|
| 30 | <li><a href="${h.url_for( controller='history', action='list_shared')}" target="galaxy_main">Histories</a> shared with you by others</li> |
---|
| 31 | %endif |
---|
| 32 | </ul> |
---|