From 27e82186d52f56e627344ebfe0833c3c915a3652 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 10 2016 10:54:51 +0000 Subject: Fix deleting a branch with a '/' in its name --- diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 96a1137..b8584c5 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -224,7 +224,7 @@ git push -u origin master {% endif %} {% for branch in branches if branch != head%} -
+
{% if branchname != branch %} @@ -240,14 +240,14 @@ git push -u origin master
{% if repo_admin and branch != head %} -
{{ form.csrf_token }} + onclick="$('#delete_branch_form-{{ branch | replace('/', '_') }}').submit();">