Merge pull request #1044 from ArthurHoaro/hotfix/plugins-parameter-button
Fix an issue preventing the Save button to appear for plugin parameters
This commit is contained in:
commit
fcbc67edf0
1 changed files with 3 additions and 3 deletions
|
@ -137,9 +137,9 @@ <h2 class="window-title">{'Plugin configuration'|t}</h2>
|
||||||
{if="count($enabledPlugins)==0"}
|
{if="count($enabledPlugins)==0"}
|
||||||
<p class="center">{'No plugin enabled.'|t}</p>
|
<p class="center">{'No plugin enabled.'|t}</p>
|
||||||
{else}
|
{else}
|
||||||
{$counter=0}
|
{$nbParameters=0}
|
||||||
{loop="$enabledPlugins"}
|
{loop="$enabledPlugins"}
|
||||||
{$counter=$counter+count($value.parameters)}
|
{$nbParameters=$nbParameters+count($value.parameters)}
|
||||||
{if="count($value.parameters) > 0"}
|
{if="count($value.parameters) > 0"}
|
||||||
<div class="plugin_parameters">
|
<div class="plugin_parameters">
|
||||||
<h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3>
|
<h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3>
|
||||||
|
@ -161,7 +161,7 @@ <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/loop}
|
{/loop}
|
||||||
{if="$counter===0"}
|
{if="$nbParameters===0"}
|
||||||
<p class="center">{'No parameter available.'|t}</p>
|
<p class="center">{'No parameter available.'|t}</p>
|
||||||
{else}
|
{else}
|
||||||
<div class="center">
|
<div class="center">
|
||||||
|
|
Loading…
Reference in a new issue