From 3d88c65f8a3ede6875f44f835b20a1b1bba43b6a Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Fri, 9 Oct 2020 19:05:47 +0100
Subject: [PATCH] Newswire date color
---
epicyon-profile.css | 4 ++--
theme.py | 4 ++--
webinterface.py | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/epicyon-profile.css b/epicyon-profile.css
index d4f5f562d..c8a49b2d6 100644
--- a/epicyon-profile.css
+++ b/epicyon-profile.css
@@ -68,8 +68,8 @@
--quote-font-size: 120%;
--line-spacing: 130%;
--line-spacing-newswire: 100%;
- --newswire-item-moderated-color: green;
- --newswire-date-moderated-color: lightgreen;
+ --newswire-item-moderated-color: white;
+ --newswire-date-moderated-color: white;
--column-left-width: 10vw;
--column-center-width: 80vw;
--column-right-width: 10vw;
diff --git a/theme.py b/theme.py
index 28d892965..debd24171 100644
--- a/theme.py
+++ b/theme.py
@@ -256,8 +256,8 @@ def setThemeIndymedia(baseDir: str):
themeParams = {
"font-size-newswire": "18px",
"line-spacing-newswire": "100%",
- "newswire-item-moderated-color": "green",
- "newswire-date-moderated-color": "lightgreen",
+ "newswire-item-moderated-color": "white",
+ "newswire-date-moderated-color": "white",
"newswire-date-color": "white",
"newswire-voted-background-color": "black",
"column-right-fg-color": "#ff9900",
diff --git a/webinterface.py b/webinterface.py
index 9cec2b19e..ab08dc8a1 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -5441,8 +5441,8 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
'' + \
item[0] + '' + \
totalVotesStr
- htmlStr += ' '
- htmlStr += dateStr.replace('+00:00', '') + '
'
+ htmlStr += ' '
+ htmlStr += dateStr.replace('+00:00', '') + ''
return htmlStr