From 13c074f8b8f8340efc7c5912c615b6cfa693409d Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 22 May 2024 19:20:57 +0200 Subject: Module\Setup: Pass all required params for the template. Non-existing keys in the array passed to the template causes a warning. Also make optional parts of the template actually optional by skipping them if the value is empty. --- view/tpl/install.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/tpl/install.tpl b/view/tpl/install.tpl index 5ab722b12..56faa0527 100644 --- a/view/tpl/install.tpl +++ b/view/tpl/install.tpl @@ -2,7 +2,9 @@

{{$title}}


+ {{if $icon}}

  {{$pass}}

+ {{/if}}
{{if $status}} @@ -11,5 +13,5 @@
{{$text}}

- {{$what_next}} + {{if $what_next}}{{$what_next}}{{/if}} -- cgit v1.2.3