forked from AkkomaGang/akkoma
Merge branch 'new-frontend-options' into 'develop'
New frontend options See merge request pleroma/pleroma!383
This commit is contained in:
commit
bcae57afd2
2 changed files with 6 additions and 2 deletions
|
@ -121,7 +121,9 @@
|
|||
show_instance_panel: true,
|
||||
scope_options_enabled: false,
|
||||
formatting_options_enabled: false,
|
||||
collapse_message_with_subject: false
|
||||
collapse_message_with_subject: false,
|
||||
hide_post_stats: false,
|
||||
hide_user_stats: false
|
||||
|
||||
config :pleroma, :activitypub,
|
||||
accept_blocks: true,
|
||||
|
|
|
@ -177,7 +177,9 @@ def config(conn, _params) do
|
|||
showInstanceSpecificPanel: Keyword.get(@instance_fe, :show_instance_panel),
|
||||
scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled),
|
||||
formattingOptionsEnabled: Keyword.get(@instance_fe, :formatting_options_enabled),
|
||||
collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject)
|
||||
collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject),
|
||||
hidePostStats: Keyword.get(@instance_fe, :hide_post_stats),
|
||||
hideUserStats: Keyword.get(@instance_fe, :hide_user_stats)
|
||||
}
|
||||
|
||||
managed_config = Keyword.get(@instance, :managed_config)
|
||||
|
|
Loading…
Reference in a new issue