From 6048916a95b4f979cbd7eefc152b7b62e782ae23 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Dec 2022 16:57:11 +0000 Subject: [PATCH 1/2] cc symbol --- webapp_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index 4827f107c..7844f4b15 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1585,7 +1585,7 @@ def _get_footer_with_icons(show_icons: bool, footer_str += '' + \ - ' 🅭 ' + '🅭 ' # show the date date_link = '/users/' + nickname + '?convthread=' + \ published_link.replace('/', '--') From 1eb50a2ad2d76ae833ab9c18c5289a33e5d45d64 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Dec 2022 17:09:34 +0000 Subject: [PATCH 2/2] Use different symbol for cc0 licenses --- webapp_post.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index 7844f4b15..5a8d016cb 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1582,10 +1582,14 @@ def _get_footer_with_icons(show_icons: bool, footer_str += ' ' if content_license_url: # show the CC symbol + copyright_symbol = '🅭 ' + if '/zero/' in content_license_url: + copyright_symbol = '🄍 ' footer_str += '' + \ - '🅭 ' + ' ' + \ + copyright_symbol + ' ' # show the date date_link = '/users/' + nickname + '?convthread=' + \ published_link.replace('/', '--')