From 575f23b542a4ce14e5d9b1281f67abaaedc3c4a2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 26 2015 13:29:56 +0000 Subject: Adjust the issue page wrt assignee Regular users will have the option to reset or take the ticket while admins will be given the option to update it. --- diff --git a/progit/templates/issue.html b/progit/templates/issue.html index 7020fff..c90e79c 100644 --- a/progit/templates/issue.html +++ b/progit/templates/issue.html @@ -78,6 +78,22 @@
+ + + {{ form_tag.csrf_token }} +
+
+ + + {{ form_tag.csrf_token }} +
+ {% if g.fas_user and g.fas_user.username == repo.user.user %} +
@@ -85,6 +101,7 @@ class="submit positive button" value="Update"> {{ form_tag.csrf_token }}
+ {% endif %} {% endif %}