From 1729522ae81a3d128f86886acbc386f5485fca47 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 20 2014 10:11:13 +0000 Subject: Adjust the new_issue template to work with projects and forks for creating or editing issues --- diff --git a/progit/templates/new_issue.html b/progit/templates/new_issue.html index 2ab67b3..6d444b9 100644 --- a/progit/templates/new_issue.html +++ b/progit/templates/new_issue.html @@ -16,9 +16,21 @@
{% if not type or type == 'new' %} -
+ {% if '/fork/' in request.url %} + + {% else %} + + {% endif %} + {% elif type and type == 'edit' %} - + {% if '/fork/' in request.url %} + + {% else %} + + {% endif %} {% endif %}