aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-09-19 12:41:52 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-09-19 12:41:52 +0100
commitb89be5656663461377dcdf21f2af12526b7ddc02 (patch)
tree9b95cbafa29da214817f02a55ed96dec65710323
parent9b7ebf0eebd8dfe0227b55aec3435bacd243f7be (diff)
Correctly list ALLOWED_COBRANDS with hash items.
Thanks to Struan for spotting.
-rw-r--r--templates/web/default/admin/config_page.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/web/default/admin/config_page.html b/templates/web/default/admin/config_page.html
index fd8479749..a7db39cc8 100644
--- a/templates/web/default/admin/config_page.html
+++ b/templates/web/default/admin/config_page.html
@@ -37,7 +37,11 @@
[% INCLUDE with_cobrand value="ADMIN_BASE_URL" cob=c.cobrand.admin_base_url %]
[% INCLUDE subsection heading="Display" %]
-[% INCLUDE just_value value="ALLOWED_COBRANDS" %]
+[% allowed_conf = FOR k IN c.config.ALLOWED_COBRANDS %]
+ [% IF k.keys %][% k.items.join(':') %][% ELSE %][% k %][% END %]
+ [%- ',' IF NOT loop.last %]
+[% END %]
+[% INCLUDE just_value value="ALLOWED_COBRANDS" conf = allowed_conf %]
<tr>
<td>Web templates</td>
<td colspan=2>[% c.cobrand.path_to_web_templates.join('<br>') %]</td>