add: dedicated responses tab for profiles
This commit is contained in:
parent
9ba6320d46
commit
07a23f505b
24 changed files with 332 additions and 55 deletions
|
@ -757,7 +757,29 @@
|
|||
(text "{{ icon \"check\" }}")))
|
||||
(span
|
||||
("class" "fade")
|
||||
(text "Use an image of 1100x350px for the best results.")))))
|
||||
(text "Use an image of 1100x350px for the best results."))))
|
||||
(div
|
||||
("class" "card-nest")
|
||||
("ui_ident" "default_profile_page")
|
||||
(div
|
||||
("class" "card small")
|
||||
(b
|
||||
(text "Default profile tab")))
|
||||
(div
|
||||
("class" "card")
|
||||
(select
|
||||
("onchange" "window.SETTING_SET_FUNCTIONS[0]('default_profile_tab', event.target.selectedOptions[0].value)")
|
||||
(option
|
||||
("value" "Posts")
|
||||
("selected" "{% if profile.settings.default_profile_tab == 'Posts' -%}true{% else %}false{%- endif %}")
|
||||
(text "Posts"))
|
||||
(option
|
||||
("value" "Responses")
|
||||
("selected" "{% if profile.settings.default_profile_tab == 'Responses' -%}true{% else %}false{%- endif %}")
|
||||
(text "Responses")))
|
||||
(span
|
||||
("class" "fade")
|
||||
(text "This represents the timeline that is shown on your profile by default.")))))
|
||||
(button
|
||||
("onclick" "save_settings()")
|
||||
("id" "save_button")
|
||||
|
@ -1387,6 +1409,7 @@
|
|||
\"supporter_ad\",
|
||||
\"change_avatar\",
|
||||
\"change_banner\",
|
||||
\"default_profile_page\",
|
||||
]);
|
||||
ui.refresh_container(theme_settings, [
|
||||
\"supporter_ad\",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue