You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/03/23 20:17:04 UTC
allura git commit: Added confirmation before revoking the award
Repository: allura
Updated Branches:
refs/heads/master 5ca617bc1 -> 85a53446a
Added confirmation before revoking the award
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/85a53446
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/85a53446
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/85a53446
Branch: refs/heads/master
Commit: 85a53446a893aaad2b16e434b6c7efa975522375
Parents: 5ca617b
Author: rhnvrm <ro...@gmail.com>
Authored: Wed Mar 23 15:08:07 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Wed Mar 23 19:16:51 2016 +0000
----------------------------------------------------------------------
Allura/allura/templates/neighborhood_admin_accolades.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/85a53446/Allura/allura/templates/neighborhood_admin_accolades.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/neighborhood_admin_accolades.html b/Allura/allura/templates/neighborhood_admin_accolades.html
index 862a889..ca9bb86 100644
--- a/Allura/allura/templates/neighborhood_admin_accolades.html
+++ b/Allura/allura/templates/neighborhood_admin_accolades.html
@@ -127,7 +127,7 @@
<td><a href="{{grant.award_url}}">{{grant.award_url}}</a></td>
<td>{{grant.comment}}</td>
<td>
- <form action="{{grant.longurl()}}/revoke" method="post">
+ <form action="{{grant.longurl()}}/revoke" method="post" onsubmit="return confirm('Continue to revoke this award?');">
<input type="submit" value="Revoke"/>
{{lib.csrf_token()}}
</form>