aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-19 10:11:24 +0000
committerMario <mario@mariovavti.com>2021-02-19 10:11:24 +0000
commita2d170385b3c02ad284535ec337acda237e2e353 (patch)
treebf8e8ccd91811541c9b49250cf6352b4836d8f7a /view
parenta27572698888649f662e7465ad338cf9b6e9fcc2 (diff)
downloadvolse-hubzilla-a2d170385b3c02ad284535ec337acda237e2e353.tar.gz
volse-hubzilla-a2d170385b3c02ad284535ec337acda237e2e353.tar.bz2
volse-hubzilla-a2d170385b3c02ad284535ec337acda237e2e353.zip
deprecate summary tag in favour of a separate input field
Diffstat (limited to 'view')
-rw-r--r--view/css/conversation.css2
-rw-r--r--view/js/autocomplete.js2
-rw-r--r--view/tpl/jot.tpl5
3 files changed, 7 insertions, 2 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 06da8528c..43bc96e57 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -17,6 +17,7 @@
}
#jot-title-wrap,
+#jot-summary-wrap,
#jot-pagetitle-wrap,
#jot-category-wrap,
#jot-customjotheaders-wrap {
@@ -29,6 +30,7 @@
}
#jot-title-wrap input,
+#jot-summary-wrap input,
#jot-pagetitle-wrap input,
#jot-customjotheaders-wrap {
padding: 0.5rem;
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 92db42f6d..c45c47518 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -350,7 +350,7 @@ function string2bb(element) {
return;
if(type=='bbcode') {
- var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'summary', 'map', 'nobb', 'list', 'checklist', 'question', 'answer', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'observer.language','embed', 'highlight', 'url', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
+ var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'question', 'answer', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'observer.language','embed', 'highlight', 'url', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr' ];
var elements = open_close_elements.concat(open_elements);
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 36e71223c..1454f038b 100644
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -36,12 +36,15 @@
<div id="jot-title-wrap" class="jothidden">
<input class="w-100 border-0" name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" tabindex="1" value="{{$title}}">
</div>
+ <div id="jot-summary-wrap" class="jothidden">
+ <input class="w-100 border-0" name="summary" id="jot-summary" type="text" placeholder="{{$placeholdersummary}}" tabindex="2" value="{{$summary}}">
+ </div>
{{if $catsenabled}}
<div id="jot-category-wrap" class="jothidden">
<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}}
+ {{if $customjotheaders}}
<div id="jot-customjotheaders-wrap" class="jothidden">
{{$customjotheaders}}
</div>