aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/generic_addon_settings.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-16 21:19:27 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-16 21:19:27 +0100
commit4146f9d3da9b11dac80ea46dae2805ecdc20f3f3 (patch)
treeb88beb77e6a3c111f573d74f9fd9f7dd2b81601b /view/tpl/generic_addon_settings.tpl
parent4212a1f589862a9129d6856cb71a5911b40b7496 (diff)
downloadvolse-hubzilla-4146f9d3da9b11dac80ea46dae2805ecdc20f3f3.tar.gz
volse-hubzilla-4146f9d3da9b11dac80ea46dae2805ecdc20f3f3.tar.bz2
volse-hubzilla-4146f9d3da9b11dac80ea46dae2805ecdc20f3f3.zip
show generic submit button only if plugin name is provided
Diffstat (limited to 'view/tpl/generic_addon_settings.tpl')
-rw-r--r--view/tpl/generic_addon_settings.tpl2
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>