[hg] galaxy 3369: unpublish typo
details: http://www.bx.psu.edu/hg/galaxy/rev/44cada534e33 changeset: 3369:44cada534e33 user: Kanwei Li <kanwei@gmail.com> date: Wed Feb 10 15:27:58 2010 -0500 description: unpublish typo diffstat: lib/galaxy/web/controllers/history.py | 2 +- lib/galaxy/web/controllers/page.py | 2 +- lib/galaxy/web/controllers/workflow.py | 4 ++-- templates/sharing_base.mako | 2 +- templates/workflow/sharing.mako | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diffs (69 lines): diff -r 773273b96ff4 -r 44cada534e33 lib/galaxy/web/controllers/history.py --- a/lib/galaxy/web/controllers/history.py Wed Feb 10 15:13:46 2010 -0500 +++ b/lib/galaxy/web/controllers/history.py Wed Feb 10 15:27:58 2010 -0500 @@ -563,7 +563,7 @@ history.importable = False elif 'unpublish' in kwargs: history.published = False - elif 'disable_link_access_and_unpubish' in kwargs: + elif 'disable_link_access_and_unpublish' in kwargs: history.importable = history.published = False elif 'unshare_user' in kwargs: user = trans.sa_session.query( trans.app.model.User ).get( trans.security.decode_id( kwargs[ 'unshare_user' ] ) ) diff -r 773273b96ff4 -r 44cada534e33 lib/galaxy/web/controllers/page.py --- a/lib/galaxy/web/controllers/page.py Wed Feb 10 15:13:46 2010 -0500 +++ b/lib/galaxy/web/controllers/page.py Wed Feb 10 15:27:58 2010 -0500 @@ -394,7 +394,7 @@ page.importable = False elif 'unpublish' in kwargs: page.published = False - elif 'disable_link_access_and_unpubish' in kwargs: + elif 'disable_link_access_and_unpublish' in kwargs: page.importable = page.published = False elif 'unshare_user' in kwargs: user = session.query( model.User ).get( trans.security.decode_id( kwargs['unshare_user' ] ) ) diff -r 773273b96ff4 -r 44cada534e33 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py Wed Feb 10 15:13:46 2010 -0500 +++ b/lib/galaxy/web/controllers/workflow.py Wed Feb 10 15:27:58 2010 -0500 @@ -262,7 +262,7 @@ stored.importable = False elif 'unpublish' in kwargs: stored.published = False - elif 'disable_link_access_and_unpubish' in kwargs: + elif 'disable_link_access_and_unpublish' in kwargs: stored.importable = stored.published = False elif 'unshare_user' in kwargs: user = session.query( model.User ).get( trans.security.decode_id( kwargs['unshare_user' ] ) ) @@ -477,7 +477,7 @@ def editor( self, trans, id=None ): """ Render the main workflow editor interface. The canvas is embedded as - an iframe (neccesary for scrolling to work properly), which is + an iframe (necessary for scrolling to work properly), which is rendered by `editor_canvas`. """ if not id: diff -r 773273b96ff4 -r 44cada534e33 templates/sharing_base.mako --- a/templates/sharing_base.mako Wed Feb 10 15:13:46 2010 -0500 +++ b/templates/sharing_base.mako Wed Feb 10 15:27:58 2010 -0500 @@ -153,7 +153,7 @@ <input class="action-button" type="submit" name="unpublish" value="Unpublish ${item_class_name}"> <div class="toolParamHelp">Removes ${item_class_name_lc} from Galaxy's <a href='${h.url_for( action='list_published' )}' target="_top">Published ${item_class_plural_name}</a> section so that it is not publicly listed or searchable.</div> <br> - <input class="action-button" type="submit" name="disable_link_access_and_unpubish" value="Disable Access to ${item_class_name} via Link and Unpublish"> + <input class="action-button" type="submit" name="disable_link_access_and_unpublish" value="Disable Access to ${item_class_name} via Link and Unpublish"> <div class="toolParamHelp">Disables ${item_class_name_lc}'s link so that it is not accessible and removes ${item_class_name_lc} from Galaxy's <a href='${h.url_for( action='list_published' )}' target='_top'>Published ${item_class_plural_name}</a> section so that it is not publicly listed or searchable.</div> %endif diff -r 773273b96ff4 -r 44cada534e33 templates/workflow/sharing.mako --- a/templates/workflow/sharing.mako Wed Feb 10 15:13:46 2010 -0500 +++ b/templates/workflow/sharing.mako Wed Feb 10 15:27:58 2010 -0500 @@ -82,7 +82,7 @@ <input class="action-button" type="submit" name="unpublish" value="Unpublish Workflow"> <div class="toolParamHelp">Removes workflow from Galaxy's <a href='${h.url_for( action='list_published' )}'>Published Workflows</a> section so that it is not publicly listed or searchable.</div> <br> - <input class="action-button" type="submit" name="disable_link_access_and_unpubish" value="Disable Access to Workflow via Link and Unpublish"> + <input class="action-button" type="submit" name="disable_link_access_and_unpublish" value="Disable Access to Workflow via Link and Unpublish"> <div class="toolParamHelp">Disables workflow's link so that it is not accessible and removes workflow from Galaxy's <a href='${h.url_for( action='list_published' )}' target='_top'>Published Workflows</a> section so that it is not publicly listed or searchable.</div> %endif
participants (1)
-
Greg Von Kuster