mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-26 01:01:00 +00:00
8f57aa5f37
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
18 lines
470 B
Python
18 lines
470 B
Python
from activities.models.post import Post
|
|
from users.views.settings.settings_page import SettingsPage
|
|
|
|
|
|
class PostingPage(SettingsPage):
|
|
section = "posting"
|
|
|
|
options = {
|
|
"default_post_visibility": {
|
|
"title": "Default Post Visibility",
|
|
"help_text": "Visibility to use as default for new posts.",
|
|
"choices": Post.Visibilities.choices,
|
|
},
|
|
}
|
|
|
|
layout = {
|
|
"Posting": ["default_post_visibility"],
|
|
}
|