diff options
author | Mario <mario@mariovavti.com> | 2019-02-02 20:50:40 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-02-02 20:50:40 +0100 |
commit | bf3d0c1274fde4cb3ab1944d0011f3309596117b (patch) | |
tree | 285871de4fcb14ddb2896a3d81275d67b9ea3b98 /view | |
parent | 0ded1d326ca0792249e878d40fce4c810416295b (diff) | |
parent | 708d2881217a3a66d5ff64a33365e0cb96353962 (diff) | |
download | volse-hubzilla-bf3d0c1274fde4cb3ab1944d0011f3309596117b.tar.gz volse-hubzilla-bf3d0c1274fde4cb3ab1944d0011f3309596117b.tar.bz2 volse-hubzilla-bf3d0c1274fde4cb3ab1944d0011f3309596117b.zip |
Merge branch 'patch-20190201a' into 'dev'
Add filter hooks and the ability to add buttons to the default status editor
See merge request hubzilla/core!1502
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/jot.tpl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 4eae33d13..12509fc59 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -137,8 +137,11 @@ <i id="profile-nocomment" class="fa fa-comments jot-icons"></i> </button> {{/if}} + {{if $custommoretoolsbuttons}} + {{$custommoretoolsbuttons}} + {{/if}} </div> - {{if $writefiles || $weblink || $setloc || $clearloc || $feature_expire || $feature_encrypt || $feature_voting}} + {{if $writefiles || $weblink || $setloc || $clearloc || $feature_expire || $feature_encrypt || $feature_voting || $custommoretoolsdropdown}} <div class="btn-group d-lg-none"> <button type="button" id="more-tools" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <i id="more-tools-icon" class="fa fa-cog jot-icons"></i> @@ -176,6 +179,8 @@ {{if $feature_nocomment}} <a class="dropdown-item" href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i> {{$nocommenttitlesub}}</a> {{/if}} + <hr /> + {{$custommoretoolsdropdown}} </div> </div> {{/if}} @@ -186,6 +191,11 @@ </div> </div> <div id="profile-jot-submit-right" class="btn-group float-right"> + {{foreach $customsubmitright as $csr}} + <button class="btn btn-outline-secondary btn-sm" {{$csr.buttonparams}} title="{{$csr.preview}}"> + {{$csr.buttoncontent}} + </button> + {{/foreach}} {{if $preview}} <button class="btn btn-outline-secondary btn-sm" onclick="preview_post();return false;" title="{{$preview}}"> <i class="fa fa-eye jot-icons" ></i> |