aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-21 20:57:01 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-21 20:57:01 +0200
commit8efa103041cb8fd89b04f32cf234667c8fb3f5ad (patch)
treeb2d95b8e6bdc4d62b9fcb50333aeb8ce5faddb4d /view/tpl/jot.tpl
parent9638bf2b1eeb805b27eaf2f2e1e8a09bfd5c5514 (diff)
downloadvolse-hubzilla-8efa103041cb8fd89b04f32cf234667c8fb3f5ad.tar.gz
volse-hubzilla-8efa103041cb8fd89b04f32cf234667c8fb3f5ad.tar.bz2
volse-hubzilla-8efa103041cb8fd89b04f32cf234667c8fb3f5ad.zip
provide editor settings
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl13
1 files changed, 8 insertions, 5 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 0d1b4bd0d..2137baf9b 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -42,11 +42,14 @@
</div>
{{/if}}
<div id="jot-text-wrap">
- {{if $reset}}
- <button id="profile-jot-reset" class="btn btn-outline-secondary btn-sm d-none border-0" title="{{$reset}}" onclick="itemCancel(); return false;">
- <i class="fa fa-close"></i>
- </button>
- {{/if}}
+ <div id="profile-jot-tools" class="btn-group d-none">
+ <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 $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>
+ </button>
+ {{/if}}
+ </div>
<textarea class="profile-jot-text" id="profile-jot-text" name="body" tabindex="2" placeholder="{{$placeholdtext}}" >{{$content}}</textarea>
</div>
{{if $attachment}}