Too many briars

merge-requests/8/head
Bob Mottram 2020-12-24 17:11:18 +00:00
parent 42023ade49
commit 3c26bc6dac
2 changed files with 16 additions and 5 deletions

View File

@ -143,8 +143,14 @@ def htmlPersonOptions(defaultTimeline: str,
optionsStr += \
'<p class="imText">Tox: ' + removeHtml(toxAddress) + '</p>\n'
if briarAddress:
optionsStr += \
'<p class="imText">Briar: ' + removeHtml(briarAddress) + '</p>\n'
if briarAddress.startswith('briar://'):
optionsStr += \
'<p class="imText">' + \
removeHtml(briarAddress) + '</p>\n'
else:
optionsStr += \
'<p class="imText">briar://' + \
removeHtml(briarAddress) + '</p>\n'
if jamiAddress:
optionsStr += \
'<p class="imText">Jami: ' + removeHtml(jamiAddress) + '</p>\n'

View File

@ -477,9 +477,14 @@ def htmlProfile(rssIconAtTop: bool,
'<p>Tox: <label class="toxaddr">' + \
toxAddress + '</label></p>\n'
if briarAddress:
donateSection += \
'<p>Briar: <label class="toxaddr">' + \
briarAddress + '</label></p>\n'
if briarAddress.startswith('briar://'):
donateSection += \
'<p><label class="toxaddr">' + \
briarAddress + '</label></p>\n'
else:
donateSection += \
'<p>briar://<label class="toxaddr">' + \
briarAddress + '</label></p>\n'
if jamiAddress:
donateSection += \
'<p>Jami: <label class="toxaddr">' + \