From 3c26bc6dac608d20719c750fd055e9981a0cbde3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 24 Dec 2020 17:11:18 +0000 Subject: [PATCH] Too many briars --- webapp_person_options.py | 10 ++++++++-- webapp_profile.py | 11 ++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/webapp_person_options.py b/webapp_person_options.py index 07bfece3b..cf6ecadbc 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -143,8 +143,14 @@ def htmlPersonOptions(defaultTimeline: str, optionsStr += \ '

Tox: ' + removeHtml(toxAddress) + '

\n' if briarAddress: - optionsStr += \ - '

Briar: ' + removeHtml(briarAddress) + '

\n' + if briarAddress.startswith('briar://'): + optionsStr += \ + '

' + \ + removeHtml(briarAddress) + '

\n' + else: + optionsStr += \ + '

briar://' + \ + removeHtml(briarAddress) + '

\n' if jamiAddress: optionsStr += \ '

Jami: ' + removeHtml(jamiAddress) + '

\n' diff --git a/webapp_profile.py b/webapp_profile.py index 89bc7493b..e1e05727f 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -477,9 +477,14 @@ def htmlProfile(rssIconAtTop: bool, '

Tox:

\n' if briarAddress: - donateSection += \ - '

Briar:

\n' + if briarAddress.startswith('briar://'): + donateSection += \ + '

\n' + else: + donateSection += \ + '

briar://

\n' if jamiAddress: donateSection += \ '

Jami: