diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-05-01 15:45:42 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-05-01 15:45:42 +0200 |
commit | fa80a5c113582dc757de33199df610e0ef8503aa (patch) | |
tree | 2ed01ec5dbe3386e47312bcfa88dd30ccc4fafc1 /view | |
parent | 84d93cca6e2ac0b552a6f5c570fbcfce766200a1 (diff) | |
download | volse-hubzilla-fa80a5c113582dc757de33199df610e0ef8503aa.tar.gz volse-hubzilla-fa80a5c113582dc757de33199df610e0ef8503aa.tar.bz2 volse-hubzilla-fa80a5c113582dc757de33199df610e0ef8503aa.zip |
make weblink and attach button hideable and some minor fixes
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/jot.tpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 3de92cddb..a9f6766dc 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -138,6 +138,9 @@ {{if $feature_expire}} <li><a href="#" onclick="jotGetExpiry(); return false;"><i class="fa fa-eraser"></i> {{$expires}}</a></li> {{/if}} + {{if $feature_future}} + <li><a href="#" onclick="jotGetPubDate();return false;"><i class="fa fa-clock-o"></i> {{$future_txt}}</a></li> + {{/if}} {{if $feature_encrypt}} <li><a href="#" onclick="red_encrypt('{{$cipher}}','#profile-jot-text',$('#profile-jot-text').val());return false;"><i class="fa fa-key"></i> {{$encrypt}}</a></li> {{/if}} @@ -176,6 +179,7 @@ <div id="jot-preview-content" style="display:none;"></div> +{{if $feature_expire}} <!-- Modal for item expiry--> <div class="modal" id="expiryModal" tabindex="-1" role="dialog" aria-labelledby="expiryModalLabel" aria-hidden="true"> <div class="modal-dialog"> @@ -196,7 +200,9 @@ </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> +{{/if}} +{{if $feature_future}} <!-- Modal for item created--> <div class="modal" id="createdModal" tabindex="-1" role="dialog" aria-labelledby="createdModalLabel" aria-hidden="true"> <div class="modal-dialog"> @@ -217,7 +223,7 @@ </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> - +{{/if}} {{if $content || $attachment || $expanded}} <script>initEditor();</script> |