diff options
-rw-r--r-- | include/conversation.php | 1 | ||||
-rw-r--r-- | view/css/conversation.css | 6 | ||||
-rw-r--r-- | view/tpl/jot.tpl | 5 |
3 files changed, 10 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index 002edef51..08d16a413 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1517,6 +1517,7 @@ function hz_status_editor($a, $x, $popup = false) { '$parent' => ((array_key_exists('parent',$x) && $x['parent']) ? $x['parent'] : 0), '$reset' => $reset, '$is_owner' => ((local_channel() && (local_channel() == $x['profile_uid'])) ? true : false), + '$customjotheaders' => '', '$custommoretoolsdropdown' => '', '$custommoretoolsbuttons' => '', '$customsubmitright' => [] diff --git a/view/css/conversation.css b/view/css/conversation.css index 77e56e200..06da8528c 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -18,7 +18,8 @@ #jot-title-wrap, #jot-pagetitle-wrap, -#jot-category-wrap { +#jot-category-wrap, +#jot-customjotheaders-wrap { border-bottom: 1px solid rgba(0, 0, 0, .2); } @@ -28,7 +29,8 @@ } #jot-title-wrap input, -#jot-pagetitle-wrap input { +#jot-pagetitle-wrap input, +#jot-customjotheaders-wrap { padding: 0.5rem; } diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 36543ccfa..36e71223c 100644 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -41,6 +41,11 @@ <input class="w-100 border-0" name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" data-role="cat-tagsinput"> </div> {{/if}} + {{if $customjotheaders}} + <div id="jot-customjotheaders-wrap" class="jothidden"> + {{$customjotheaders}} + </div> + {{/if}} <div id="jot-text-wrap"> <div id="profile-jot-tools" class="btn-group d-none"> {{if $is_owner}} |