diff options
author | Simo Sorce <simo@redhat.com> | 2014-03-27 12:56:28 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-03-28 17:10:32 -0400 |
commit | 7b56b1311ba0c730fa884c75ccf15dfbf996ebd8 (patch) | |
tree | 6a7385d9d3f74e06a28468e5faa15417fe60bd1f /templates | |
parent | 0338db2eb3197ce0024d0192bd981120a58de573 (diff) | |
download | ipsilon-7b56b1311ba0c730fa884c75ccf15dfbf996ebd8.tar.gz ipsilon-7b56b1311ba0c730fa884c75ccf15dfbf996ebd8.tar.xz ipsilon-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.html | 3 |
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 %} |