cleaning comments

This commit is contained in:
nitesh1989
2016-03-31 13:38:03 -04:00
parent ccbc3e0045
commit 0ea13c957a
2 changed files with 1 additions and 12 deletions
@@ -723,16 +723,6 @@ class WorkflowController( BaseUIController, SharableMixin, UsesStoredWorkflowMix
rval['name'] = workflow.name
return rval
# @web.expose
# @web.require_login( "use workflows" )
# def export( self, trans, id=None, **kwd ):
# """
# Handles download/export workflow command.
# """
# stored = self.get_stored_workflow( trans, id, check_ownership=False, check_accessible=True )
# return trans.fill_template( "/workflow/export.mako", item=stored, use_panels=True )
@web.expose
@web.require_login( "use workflows" )
def export_to_myexp( self, trans, id, myexp_username, myexp_password ):
+1 -2
View File
@@ -65,8 +65,7 @@
<div popupmenu="wf-${i}-popup">
<a class="action-button" href="${h.url_for( controller='workflow', action='editor', id=trans.security.encode_id( workflow.id ) )}" target="_parent">Edit</a>
<a class="action-button" href="${h.url_for( controller='root', action='index', workflow_id=trans.security.encode_id( workflow.id ) )}" target="_parent">Run</a>
<a class="action-button" href="${h.url_for( controller='workflow', action='sharing', id=trans.security.encode_id( workflow.id ) )}">Share or Publish</a>
##<a class="action-button" href="${h.url_for( controller='workflow', action='export', id=trans.security.encode_id( workflow.id ) )}">Download or Export</a>
<a class="action-button" href="${h.url_for( controller='workflow', action='sharing', id=trans.security.encode_id( workflow.id ) )}">Share or Publish or Download or Export</a>
<a class="action-button" href="${h.url_for( controller='workflow', action='copy', id=trans.security.encode_id( workflow.id ) )}">Copy</a>
<a class="action-button" href="${h.url_for( controller='workflow', action='rename', id=trans.security.encode_id( workflow.id ) )}">Rename</a>
<a class="action-button" href="${h.url_for( controller='workflow', action='display_by_id', id=trans.security.encode_id( workflow.id ) )}" target="_top">View</a>