From 646bd8507b1d790dd5b4a35fef9930e8738f76a7 Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Mon, 10 Jun 2024 13:07:12 +0100
Subject: [PATCH] Show pgp public key within dropdown to avoid taking up a
large amount of screen space
---
webapp_profile.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/webapp_profile.py b/webapp_profile.py
index 88db8a020..2f611f6d3 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -1167,8 +1167,10 @@ def html_profile(signing_priv_key_pem: str,
pgp_fingerprint.replace('\n', '
') + '
\n'
if pgp_pub_key:
donate_section += \
- '' + \
- pgp_pub_key.replace('\n', '
') + '
\n'
+ '' + \
+ 'PGP
' + \
+ pgp_pub_key.replace('\n', '
') + \
+ '
\n'
donate_section += ' \n'
donate_section += '\n'