aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-05 18:16:43 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-05 18:16:43 +0100
commit688ef34d98dbfafb5418f15eabd8bc41e9a5b581 (patch)
treea013438cd006754fc4d278c3933d3a89a6e273a0
parentca641468a1e61964968480c1205d19d0a105bf51 (diff)
downloadvolse-hubzilla-688ef34d98dbfafb5418f15eabd8bc41e9a5b581.tar.gz
volse-hubzilla-688ef34d98dbfafb5418f15eabd8bc41e9a5b581.tar.bz2
volse-hubzilla-688ef34d98dbfafb5418f15eabd8bc41e9a5b581.zip
only show theme settings if we have any themes
-rwxr-xr-xview/tpl/settings_display.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl
index 1dbf4381a..d27ea15e0 100755
--- a/view/tpl/settings_display.tpl
+++ b/view/tpl/settings_display.tpl
@@ -6,6 +6,7 @@
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
<div class="panel-group" id="settings" role="tablist" aria-multiselectable="true">
+ {{if $theme || $mobile_theme}}
<div class="panel">
<div class="section-subtitle-wrapper" role="tab" id="theme-settings-title">
<h3>
@@ -28,6 +29,7 @@
</div>
</div>
</div>
+ {{/if}}
{{if $theme_config}}
{{$theme_config}}
{{/if}}