allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: Added confirmation before revoking the award
Date Wed, 23 Mar 2016 19:17:04 GMT
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 <rohanverma2004@gmail.com>
Authored: Wed Mar 23 15:08:07 2016 +0530
Committer: Dave Brondsema <dave@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>


Mime
View raw message