From 43093679f6cfcae10fee63f388eca83a9fda1e66 Mon Sep 17 00:00:00 2001
From: Pierre-Yves Chibon
Date: Apr 27 2014 09:44:38 +0000
Subject: Lists the hooks available to a project in the settings template
---
diff --git a/progit/templates/settings.html b/progit/templates/settings.html
index 73a3970..6780dc6 100644
--- a/progit/templates/settings.html
+++ b/progit/templates/settings.html
@@ -22,7 +22,24 @@
{{ form.csrf_token }}
-
+
+{% if plugins %}
+
+ Hooks
+
+ {% for plugin in plugins %}
+ -
+ {{ plugin }}
+
+ {% endfor %}
+
+
+{% endif %}
{% endblock %}
+
+{% block jscripts %}
+{{ super() }}
+{% endblock %}