aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/prv_message.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-09 21:13:40 -0700
committerfriendica <info@friendica.com>2014-04-09 21:13:40 -0700
commit8d8d73924224f1f3862bffa4822b7d62600afd62 (patch)
treeeb83b0491fe69a2d712e8b3e898448ec363529a2 /view/tpl/prv_message.tpl
parent795d74171358abe23cc4be01dac0e48d04ee46b4 (diff)
parent5d5ff22b1dc551863342d2c7c7f44607bbd44777 (diff)
downloadvolse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.gz
volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.bz2
volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl/prv_message.tpl')
-rwxr-xr-xview/tpl/prv_message.tpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl
index 3330a338f..118bd846f 100755
--- a/view/tpl/prv_message.tpl
+++ b/view/tpl/prv_message.tpl
@@ -37,14 +37,16 @@
<div id="prvmail-link-wrapper" >
<i id="prvmail-link" class="icon-link jot-icons" title="{{$insert}}" onclick="jotGetLink(); return false;"></i>
</div>
-
- <div id="prvmail-expire-wrapper" style="display: {{$feature_expire}};" >
- <i id="prvmail-expires" class="icon-eraser jot-icons" title="{{$expires}}" onclick="prvmailGetExpiry();return false;"></i>
- </div>
- <div id="prvmail-encrypt-wrapper" style="display: {{$feature_encrypt}};" >
+ {{if $feature_expire}}
+ <div id="prvmail-expire-wrapper" >
+ <i id="prvmail-expires" class="icon-eraser jot-icons" title="{{$expires}}" onclick="prvmailGetExpiry();return false;"></i>
+ </div>
+ {{/if}}
+ {{if $feature_encrypt}}
+ <div id="prvmail-encrypt-wrapper" >
<i id="prvmail-encrypt" class="icon-key jot-icons" title="{{$encrypt}}" onclick="red_encrypt('{{$cipher}}','#prvmail-text',$('#prvmail-text').val());return false;"></i>
</div>
-
+ {{/if}}
<div id="prvmail-rotator-wrapper" >
<img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>