mirror of https://gitlab.com/bashrc2/epicyon
Default option for handles dropdown
parent
45fa7aa236
commit
4824845322
|
@ -1114,7 +1114,7 @@ def html_profile(signing_priv_key_pem: str,
|
||||||
domain_full, selected, False)
|
domain_full, selected, False)
|
||||||
follow_search_str += \
|
follow_search_str += \
|
||||||
' <button type="submit" class="button" ' + \
|
' <button type="submit" class="button" ' + \
|
||||||
'name="submitSearch">' + translate['Search'] + '</button>\n'
|
'name="submitSearch">' + translate['View'] + '</button>\n'
|
||||||
follow_search_str += '</form>\n</div>\n'
|
follow_search_str += '</form>\n</div>\n'
|
||||||
profile_str += follow_search_str
|
profile_str += follow_search_str
|
||||||
|
|
||||||
|
|
|
@ -2053,6 +2053,7 @@ def html_following_dropdown(base_dir: str, nickname: str,
|
||||||
else:
|
else:
|
||||||
# no petnames list exists - just use following.txt
|
# no petnames list exists - just use following.txt
|
||||||
following_list = msg.split('\n')
|
following_list = msg.split('\n')
|
||||||
|
list_str += '<option value="" selected></option>\n'
|
||||||
following_list.sort()
|
following_list.sort()
|
||||||
if following_list:
|
if following_list:
|
||||||
for following_address in following_list:
|
for following_address in following_list:
|
||||||
|
|
Loading…
Reference in New Issue