aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-04 20:53:59 -0800
committerfriendica <info@friendica.com>2012-11-04 20:53:59 -0800
commit152641bf243dde9cf01d9a95038939ac9ddf0f3e (patch)
tree8ac950c4cb23d963691c8fa946fd6fed19eb8d9e /view/tpl/jot.tpl
parent94f737b69912a32b5ae693f5aab3da0df7956926 (diff)
downloadvolse-hubzilla-152641bf243dde9cf01d9a95038939ac9ddf0f3e.tar.gz
volse-hubzilla-152641bf243dde9cf01d9a95038939ac9ddf0f3e.tar.bz2
volse-hubzilla-152641bf243dde9cf01d9a95038939ac9ddf0f3e.zip
that was certainly some fun debugging (not)
Diffstat (limited to 'view/tpl/jot.tpl')
-rw-r--r--view/tpl/jot.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index c702fafaf..29c420900 100644
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -53,13 +53,14 @@
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang
</div>
- <span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>
+ {{ if $preview }}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>{{ endif }}
+
<div id="profile-jot-perms-end"></div>
<div id="profile-jot-plugin-wrapper">
- $jotplugins
+ $jotplugins
</div>
<div id="profile-rotator-wrapper" style="display: $visitor;" >