# HG changeset patch # User Mads Kiilerich # Date 1437748660 -7200 # Node ID 910c0a039f2a7da3002f4700e3a136b2f7fb38de # Parent 1528ae42ec0485e2df07710200e82e3013db9fae pullrequests: on 'My Pull Requests' move delete all the way to the right diff -r 1528ae42ec04 -r 910c0a039f2a kallithea/templates/pullrequests/pullrequest_data.html --- a/kallithea/templates/pullrequests/pullrequest_data.html Fri Jul 24 16:37:40 2015 +0200 +++ b/kallithea/templates/pullrequests/pullrequest_data.html Fri Jul 24 16:37:40 2015 +0200 @@ -17,6 +17,7 @@ ${_('Age')} ${_('From')} ${_('To')} + ${_('Delete')} % for pr in pullrequests: @@ -28,19 +29,6 @@ %else: %endif - - ## delete button - %if pr.author.user_id == c.authuser.user_id: - ${h.form(url('pullrequest_delete', repo_name=pr.other_repo.repo_name, pull_request_id=pr.pull_request_id),method='delete', style="display:inline-block")} - - ${h.end_form()} - %endif @@ -70,6 +58,19 @@ ${pr.other_repo.repo_name}#${other_ref_name} + + %if pr.author.user_id == c.authuser.user_id: + ${h.form(url('pullrequest_delete', repo_name=pr.other_repo.repo_name, pull_request_id=pr.pull_request_id),method='delete', style="display:inline-block")} + + ${h.end_form()} + %endif + % endfor