aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/widget.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-05-02 19:24:13 +0000
committerMario <mario@mariovavti.com>2024-05-02 19:24:13 +0000
commit07696d4bd144be03819122bfa2c78cd8aa3d4770 (patch)
tree5842447e5379ed91221ba78007f861cd08efe91e /view/tpl/widget.tpl
parent52e97fe1150e5b1c4e4b6739d2fd54b604d8981b (diff)
downloadvolse-hubzilla-07696d4bd144be03819122bfa2c78cd8aa3d4770.tar.gz
volse-hubzilla-07696d4bd144be03819122bfa2c78cd8aa3d4770.tar.bz2
volse-hubzilla-07696d4bd144be03819122bfa2c78cd8aa3d4770.zip
fix the test - we do not use a title anymore since it does not make much sense in combination of the sub titles
Diffstat (limited to 'view/tpl/widget.tpl')
-rw-r--r--view/tpl/widget.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/widget.tpl b/view/tpl/widget.tpl
index 3fb3b1200..4bbbb2df9 100644
--- a/view/tpl/widget.tpl
+++ b/view/tpl/widget.tpl
@@ -5,6 +5,8 @@
* on the widget class.
*}}
<div class="widget">
+ {{if $widget->title()}}
<h3>{{$widget->title()}}</h3>
+ {{/if}}
{{$widget->contents()}}
</div>