diff options
author | r <r@freesoftwareextremist.com> | 2024-10-14 07:54:41 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2024-10-14 07:54:41 +0000 |
commit | e5bf3159b8e485c108de0e4b1051ba6b66c16099 (patch) | |
tree | 858e645fb47e241c2b4737df31703adeafa09dbf /templates | |
parent | 14d5eaf6e9aa3c74049a54a3ef95e71158fd4942 (diff) | |
download | bloat-e5bf3159b8e485c108de0e4b1051ba6b66c16099.tar.gz bloat-e5bf3159b8e485c108de0e4b1051ba6b66c16099.zip |
Add support for quote reply
Diffstat (limited to 'templates')
-rw-r--r-- | templates/about.tmpl | 4 | ||||
-rw-r--r-- | templates/postform.tmpl | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/about.tmpl b/templates/about.tmpl index 580c68d..d160e33 100644 --- a/templates/about.tmpl +++ b/templates/about.tmpl @@ -78,6 +78,10 @@ <td> <kbd>N</kbd> </td> </tr> <tr> + <td> Quote reply </td> + <td> <kbd>Q</kbd> </td> + </tr> + <tr> <td> Post attachments </td> <td> <kbd>A</kbd> </td> </tr> diff --git a/templates/postform.tmpl b/templates/postform.tmpl index 5ee1a51..321851a 100644 --- a/templates/postform.tmpl +++ b/templates/postform.tmpl @@ -30,6 +30,10 @@ </select> <input type="checkbox" id="nsfw-checkbox" name="is_nsfw" value="true" accesskey="N" title="NSFW (N)"> <label for="nsfw-checkbox"> NSFW </label> + {{if .ReplyContext}} + <input type="checkbox" id="quote-checkbox" name="is_quote" value="true" {{if .ReplyContext.ForceVisibility}}disabled{{end}} accesskey="Q" title="Quote (Q)"> + <label for="quote-checkbox"> Quote </label> + {{end}} </div> <div class="form-field-s"> <input id="post-file-picker" type="file" name="attachments" multiple accesskey="A" title="Attachments (A)"> |