aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-02 12:04:23 -0800
committerzotlabs <mike@macgirvin.com>2018-03-02 12:04:23 -0800
commitdbe73cdcbe4a51bbb9588af88afea22b5b201cc0 (patch)
tree6fab12a2a94dee081707d374bfce982c0096b463 /view
parentdcfe9bc64f822af02021767bf8c70fbe9d847bda (diff)
downloadvolse-hubzilla-dbe73cdcbe4a51bbb9588af88afea22b5b201cc0.tar.gz
volse-hubzilla-dbe73cdcbe4a51bbb9588af88afea22b5b201cc0.tar.bz2
volse-hubzilla-dbe73cdcbe4a51bbb9588af88afea22b5b201cc0.zip
add icon to any addon settings blocks which don't already have one
Diffstat (limited to 'view')
-rw-r--r--view/tpl/generic_addon_settings.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/generic_addon_settings.tpl b/view/tpl/generic_addon_settings.tpl
index 57028237a..875c97feb 100644
--- a/view/tpl/generic_addon_settings.tpl
+++ b/view/tpl/generic_addon_settings.tpl
@@ -2,7 +2,11 @@
<div class="section-subtitle-wrapper" role="tab" id="{{$addon.0}}-settings">
<h3>
<a title="{{$addon.2}}" data-toggle="collapse" data-target="#{{$addon.0}}-settings-content" href="#" aria-controls="{{$addon.0}}-settings-content">
+ {{if $addon.1|substr:0:1 === '<'}}
{{$addon.1}}
+ {{else}}
+ <i class="fa fa-gear"></i> {{$addon.1}}
+ {{/if}}
</a>
</h3>
</div>