summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-04-07 15:07:17 -0400
committerSimo Sorce <simo@redhat.com>2015-04-10 10:37:49 -0400
commit7c5d5b352ce80728c941e7f53088ce638c280a2e (patch)
treead8bfbe7b3b47ddfad356573ec59bbb9defeeb95
parent12139c6090941f67c098bf4387ce00a8503e825e (diff)
downloadipsilon-7c5d5b352ce80728c941e7f53088ce638c280a2e.zip
ipsilon-7c5d5b352ce80728c941e7f53088ce638c280a2e.tar.gz
ipsilon-7c5d5b352ce80728c941e7f53088ce638c280a2e.tar.xz
Rename plugin_config template to option_config
Give the configuration template, which maps Config objects into HTML, a more generic name. Along with the rename this also drops the user.is_admin check so a user can manage their SP data. The backend still enforces writing. https://fedorahosted.org/ipsilon/ticket/25 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--templates/admin/option_config.html (renamed from templates/admin/plugin_config.html)2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/admin/plugin_config.html b/templates/admin/option_config.html
index c6ae044..74eede5 100644
--- a/templates/admin/plugin_config.html
+++ b/templates/admin/option_config.html
@@ -31,7 +31,6 @@
</script>
{% endblock %}
{% block main %}
-{% if user.is_admin %}
<div class = "row">
<div class="col-md-3 col-sm-3 col-xs-6">
@@ -213,5 +212,4 @@
</form>
</div>
-{% endif %}
{% endblock %}