From 5852295860d51040f69bbaf957cc8ed6bfd7358b Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 30 Oct 2015 21:03:58 -0400 Subject: Bug 1218457 - Allow localconfig to override (force) certain data/params values --- template/en/default/admin/params/common.html.tmpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'template/en/default/admin/params') diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl index d86da0dcd..6458ba419 100644 --- a/template/en/default/admin/params/common.html.tmpl +++ b/template/en/default/admin/params/common.html.tmpl @@ -28,9 +28,19 @@
[% FOREACH param = panel.param_list %] -
[% param.name FILTER html %]
+
[% param.name FILTER html %] + [% IF panel.param_override.${param.name}.defined %] + (localconfig override) + [% END %] +
[% panel.param_descs.${param.name} FILTER none %]

+ [% IF panel.param_override.${param.name}.defined %] + + + [% NEXT %] + [% END %] [% IF param.type == "t" %] -- cgit v1.2.3-24-g4f1b