add: post full unlist option
This commit is contained in:
parent
bdd8f9a869
commit
14f3bf849e
6 changed files with 45 additions and 3 deletions
|
@ -173,6 +173,12 @@
|
|||
("class" "flex items-center")
|
||||
("style" "color: var(--color-primary)")
|
||||
(text "{{ icon \"square-asterisk\" }}"))
|
||||
(text "{%- endif %} {% if post.context.full_unlist -%}")
|
||||
(span
|
||||
("title" "Unlisted")
|
||||
("class" "flex items-center")
|
||||
("style" "color: var(--color-primary)")
|
||||
(icon (text "eye-off")))
|
||||
(text "{%- endif %} {% if post.stack -%}")
|
||||
(a
|
||||
("title" "Posted to a stack you're in")
|
||||
|
@ -1507,6 +1513,7 @@
|
|||
is_nsfw: false,
|
||||
content_warning: \"\",
|
||||
tags: [],
|
||||
full_unlist: false,
|
||||
};
|
||||
|
||||
window.BLANK_INITIAL_SETTINGS = JSON.stringify(
|
||||
|
@ -1543,6 +1550,11 @@
|
|||
// window.POST_INITIAL_SETTINGS.is_nsfw.toString(),
|
||||
// \"checkbox\",
|
||||
// ],
|
||||
[
|
||||
[\"full_unlist\", \"Unlist from timelines\"],
|
||||
window.POST_INITIAL_SETTINGS.full_unlist.toString(),
|
||||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[\"content_warning\", \"Content warning\"],
|
||||
window.POST_INITIAL_SETTINGS.content_warning,
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[\"is_nsfw\", \"Hide from public timelines\"],
|
||||
[\"is_nsfw\", \"Mark as NSFW\"],
|
||||
\"{{ community.context.is_nsfw }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
|
@ -210,6 +210,11 @@
|
|||
settings.content_warning,
|
||||
\"textarea\",
|
||||
],
|
||||
[
|
||||
[\"full_unlist\", \"Unlist from timelines\"],
|
||||
\"{{ user.settings.auto_full_unlist }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[\"tags\", \"Tags\"],
|
||||
settings.tags.join(\", \"),
|
||||
|
|
|
@ -1526,6 +1526,16 @@
|
|||
\"{{ profile.settings.auto_unlist }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[\"auto_full_unlist\", \"Only publish my posts to my profile\"],
|
||||
\"{{ profile.settings.auto_unlist }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[],
|
||||
\"Your posts will still be visible in the \\\"Following\\\" timeline for users following you.\",
|
||||
\"text\",
|
||||
],
|
||||
[
|
||||
[\"all_timeline_hide_answers\", 'Hide posts answering questions from the \"All\" timeline'],
|
||||
\"{{ profile.settings.all_timeline_hide_answers }}\",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue