diff options
author | Mario <mario@mariovavti.com> | 2018-10-03 15:21:20 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-03 15:21:20 +0200 |
commit | 5e7c9b9d4a0dccf615da1ebf8bac93c10b3d2ac8 (patch) | |
tree | ae10a9ce3e211772b0181e4a6296fbd7bc279c6e /view | |
parent | 009e03c3ba13df34564b9b8d6d95a292dc91ad8f (diff) | |
download | volse-hubzilla-5e7c9b9d4a0dccf615da1ebf8bac93c10b3d2ac8.tar.gz volse-hubzilla-5e7c9b9d4a0dccf615da1ebf8bac93c10b3d2ac8.tar.bz2 volse-hubzilla-5e7c9b9d4a0dccf615da1ebf8bac93c10b3d2ac8.zip |
jot: show settings icon only to local profile owner
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/jot.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index cb80c6c7e..4eae33d13 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -43,7 +43,9 @@ {{/if}} <div id="jot-text-wrap"> <div id="profile-jot-tools" class="btn-group d-none"> + {{if $is_owner}} <a id="profile-jot-settings" class="btn btn-outline-secondary btn-sm border-0" href="/settings/editor/?f=&rpath=/{{$return_path}}"><i class="fa fa-cog"></i></a> + {{/if}} {{if $reset}} <button id="profile-jot-reset" class="btn btn-outline-secondary btn-sm border-0" title="{{$reset}}" onclick="itemCancel(); return false;"> <i class="fa fa-close"></i> |