mirror of https://gitlab.com/bashrc2/epicyon
Use paragraphs
parent
8fcb39a487
commit
c77a70c37c
|
|
@ -3338,17 +3338,17 @@ def _html_edit_profile_main(base_dir: str, display_nickname: str,
|
||||||
|
|
||||||
post_expiry_period_days = \
|
post_expiry_period_days = \
|
||||||
get_post_expiry_days(base_dir, nickname, domain)
|
get_post_expiry_days(base_dir, nickname, domain)
|
||||||
edit_profile_form += \
|
edit_profile_form += '<p>' + \
|
||||||
edit_number_field(translate['Post expiry period in days'],
|
edit_number_field(translate['Post expiry period in days'],
|
||||||
'postExpiryPeriod', post_expiry_period_days,
|
'postExpiryPeriod', post_expiry_period_days,
|
||||||
0, 9999999999999999999999, 0)
|
0, 9999999999999999999999, 0) + '</p>'
|
||||||
|
|
||||||
max_profile_posts = \
|
max_profile_posts = \
|
||||||
get_max_profile_posts(base_dir, nickname, domain, max_recent_posts)
|
get_max_profile_posts(base_dir, nickname, domain, max_recent_posts)
|
||||||
edit_profile_form += '<br>\n' + \
|
edit_profile_form += '<p>' + \
|
||||||
edit_number_field(translate['Preview posts on profile screen'],
|
edit_number_field(translate['Preview posts on profile screen'],
|
||||||
'maxRecentProfilePosts', max_profile_posts,
|
'maxRecentProfilePosts', max_profile_posts,
|
||||||
1, 20, max_recent_posts)
|
1, 20, max_recent_posts) + '</p>'
|
||||||
|
|
||||||
edit_profile_form += ' </div>\n'
|
edit_profile_form += ' </div>\n'
|
||||||
return edit_profile_form
|
return edit_profile_form
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue