diff options
author | marijus <mario@mariovavti.com> | 2014-04-08 22:07:06 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-04-08 22:07:06 +0200 |
commit | 9f621dac85c1c417b17d031e3ca2798c6b63ece7 (patch) | |
tree | 14697666c99d828f903772ae5bc4cb66373957ca /view/tpl/prv_message.tpl | |
parent | 95751dddff2b1b7a2074d37a5b3102f256842ae4 (diff) | |
download | volse-hubzilla-9f621dac85c1c417b17d031e3ca2798c6b63ece7.tar.gz volse-hubzilla-9f621dac85c1c417b17d031e3ca2798c6b63ece7.tar.bz2 volse-hubzilla-9f621dac85c1c417b17d031e3ca2798c6b63ece7.zip |
change the way jot tools are displayed/hidden
Diffstat (limited to 'view/tpl/prv_message.tpl')
-rwxr-xr-x | view/tpl/prv_message.tpl | 14 |
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> |