Default option for handles dropdown

merge-requests/30/head
Bob Mottram 2023-01-01 10:32:08 +00:00
parent 45fa7aa236
commit 4824845322
2 changed files with 2 additions and 1 deletions

View File

@ -1114,7 +1114,7 @@ def html_profile(signing_priv_key_pem: str,
domain_full, selected, False)
follow_search_str += \
' <button type="submit" class="button" ' + \
'name="submitSearch">' + translate['Search'] + '</button>\n'
'name="submitSearch">' + translate['View'] + '</button>\n'
follow_search_str += '</form>\n</div>\n'
profile_str += follow_search_str

View File

@ -2053,6 +2053,7 @@ def html_following_dropdown(base_dir: str, nickname: str,
else:
# no petnames list exists - just use following.txt
following_list = msg.split('\n')
list_str += '<option value="" selected></option>\n'
following_list.sort()
if following_list:
for following_address in following_list: