summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-03-27 12:56:28 -0400
committerSimo Sorce <simo@redhat.com>2014-03-28 17:10:32 -0400
commit7b56b1311ba0c730fa884c75ccf15dfbf996ebd8 (patch)
tree6a7385d9d3f74e06a28468e5faa15417fe60bd1f /templates
parent0338db2eb3197ce0024d0192bd981120a58de573 (diff)
downloadipsilon.git-7b56b1311ba0c730fa884c75ccf15dfbf996ebd8.tar.gz
ipsilon.git-7b56b1311ba0c730fa884c75ccf15dfbf996ebd8.tar.xz
ipsilon.git-7b56b1311ba0c730fa884c75ccf15dfbf996ebd8.zip
Add generic support for IdP plugin admin pages
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/providers.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/admin/providers.html b/templates/admin/providers.html
index 18445b6..fbeb54d 100644
--- a/templates/admin/providers.html
+++ b/templates/admin/providers.html
@@ -10,6 +10,9 @@
{% if available[p] in enabled %}
<a class="btn btn-default" href="{{ baseurl }}/disable/{{ p }}">Disable</a>
<a class="btn btn-default" href="{{ baseurl }}/{{ p }}">Configure</a>
+ {% if available[p].admin %}
+ <a class="btn btn-default" href="{{ baseurl }}/{{ p }}/admin">Administer</a>
+ {% endif %}
{% else %}
<a class="btn btn-default" href="{{ baseurl }}/enable/{{ p }}">Enable</a>
{% endif %}