diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-16 21:19:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-16 21:19:27 +0100 |
commit | 4146f9d3da9b11dac80ea46dae2805ecdc20f3f3 (patch) | |
tree | b88beb77e6a3c111f573d74f9fd9f7dd2b81601b | |
parent | 4212a1f589862a9129d6856cb71a5911b40b7496 (diff) | |
download | volse-hubzilla-4146f9d3da9b11dac80ea46dae2805ecdc20f3f3.tar.gz volse-hubzilla-4146f9d3da9b11dac80ea46dae2805ecdc20f3f3.tar.bz2 volse-hubzilla-4146f9d3da9b11dac80ea46dae2805ecdc20f3f3.zip |
show generic submit button only if plugin name is provided
-rw-r--r-- | view/tpl/generic_addon_settings.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/generic_addon_settings.tpl b/view/tpl/generic_addon_settings.tpl index a7d3b6c0a..bf39b2aea 100644 --- a/view/tpl/generic_addon_settings.tpl +++ b/view/tpl/generic_addon_settings.tpl @@ -9,9 +9,11 @@ <div id="{{$addon.0}}-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{$addon.0}}-settings"> <div class="section-content-tools-wrapper"> {{$content}} + {{if $addon.0}} <div class="settings-submit-wrapper" > <button id="{{$addon.0}}-submit" type="submit" name="{{$addon.0}}-submit" class="btn btn-primary" value="{{$addon.3}}">{{$addon.3}}</button> </div> + {{/if}} </div> </div> </div> |