1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/7030dfb18ef9/ changeset: 7030dfb18ef9 user: kanwei date: 2011-06-17 21:30:01 summary: Cleanup affected #: 2 files (361 bytes) --- a/templates/visualization/list.mako Fri Jun 17 15:23:28 2011 -0400 +++ b/templates/visualization/list.mako Fri Jun 17 15:30:01 2011 -0400 @@ -14,51 +14,51 @@ <div style="overflow: auto; height: 100%;"><div class="page-container" style="padding: 10px;"> %if message: - <% - try: - status - except: - status = "done" - %> - <p /> - <div class="${status}message"> - ${h.to_unicode( message )} - </div> + <% + try: + status + except: + status = "done" + %> + <p /> + <div class="${status}message"> + ${h.to_unicode( message )} + </div> %endif - + ${h.to_unicode( grid )} - <br><br> - <h2>Visualizations shared with you by others</h2> + <br><br> + <h2>Visualizations shared with you by others</h2> - %if shared_by_others: - <table class="colored" border="0" cellspacing="0" cellpadding="0" width="100%"> - <tr class="header"> - <th>Title</th> - <th>Owner</th> - <th></th> - </tr> - %for i, association in enumerate( shared_by_others ): - <% visualization = association.visualization %> - <tr> - <td> - <a class="menubutton" id="shared-${i}-popup" href="${h.url_for( action='display_by_username_and_slug', username=visualization.user.username, slug=visualization.slug)}">${visualization.title}</a> - </td> - <td>${visualization.user.username}</td> - <td> - <div popupmenu="shared-${i}-popup"> - <a class="action-button" href="${h.url_for( action='display_by_username_and_slug', username=visualization.user.username, slug=visualization.slug)}" target="_top">View</a> - <a class="action-button" href="${h.url_for( action='clone', id=trans.security.encode_id(visualization.id) )}">Copy</a> - </div> - </td> - </tr> - %endfor - </table> - %else: + %if shared_by_others: + <table class="colored" border="0" cellspacing="0" cellpadding="0" width="100%"> + <tr class="header"> + <th>Title</th> + <th>Owner</th> + <th></th> + </tr> + %for i, association in enumerate( shared_by_others ): + <% visualization = association.visualization %> + <tr> + <td> + <a class="menubutton" id="shared-${i}-popup" href="${h.url_for( action='display_by_username_and_slug', username=visualization.user.username, slug=visualization.slug)}">${visualization.title}</a> + </td> + <td>${visualization.user.username}</td> + <td> + <div popupmenu="shared-${i}-popup"> + <a class="action-button" href="${h.url_for( action='display_by_username_and_slug', username=visualization.user.username, slug=visualization.slug)}" target="_top">View</a> + <a class="action-button" href="${h.url_for( action='clone', id=trans.security.encode_id(visualization.id) )}">Copy</a> + </div> + </td> + </tr> + %endfor + </table> + %else: - No visualizations have been shared with you. + No visualizations have been shared with you. - %endif + %endif </div></div> --- a/templates/workflow/list.mako Fri Jun 17 15:23:28 2011 -0400 +++ b/templates/workflow/list.mako Fri Jun 17 15:30:01 2011 -0400 @@ -15,16 +15,16 @@ <div style="overflow: auto; height: 100%;"><div class="page-container" style="padding: 10px;"> %if message: - <% - try: - status - except: - status = "done" - %> - <p /> - <div class="${status}message"> - ${h.to_unicode( message )} - </div> + <% + try: + status + except: + status = "done" + %> + <p /> + <div class="${status}message"> + ${h.to_unicode( message )} + </div> %endif <h2>Your workflows</h2> @@ -43,7 +43,7 @@ </a></li></ul> - + %if workflows: <table class="manage-table colored" border="0" cellspacing="0" cellpadding="0" style="width:100%;"><tr class="header"> @@ -72,7 +72,7 @@ <a class="action-button" confirm="Are you sure you want to delete workflow '${h.to_unicode( workflow.name ) | h}'?" href="${h.url_for( action='delete', id=trans.security.encode_id(workflow.id) )}">Delete</a></div></td> - </tr> + </tr> %endfor </table> %else: @@ -101,12 +101,12 @@ <td>${len(workflow.latest_workflow.steps)}</td><td><div popupmenu="shared-${i}-popup"> - <a class="action-button" href="${h.url_for( action='display_by_username_and_slug', username=workflow.user.username, slug=workflow.slug)}" target="_top">View</a> - <a class="action-button" href="${h.url_for( action='run', id=trans.security.encode_id(workflow.id) )}">Run</a> - <a class="action-button" href="${h.url_for( action='clone', id=trans.security.encode_id(workflow.id) )}">Clone</a> + <a class="action-button" href="${h.url_for( action='display_by_username_and_slug', username=workflow.user.username, slug=workflow.slug)}" target="_top">View</a> + <a class="action-button" href="${h.url_for( action='run', id=trans.security.encode_id(workflow.id) )}">Run</a> + <a class="action-button" href="${h.url_for( action='clone', id=trans.security.encode_id(workflow.id) )}">Clone</a></div></td> - </tr> + </tr> %endfor </table> %else: @@ -121,5 +121,5 @@ <span>Configure your workflow menu</span></a></div> - </div> + </div </%def> \ No newline at end of file Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.