From 4dbbb3a9fa173defc3312762fe2db908ca1053e7 Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Fri, 9 Oct 2020 14:26:59 +0100
Subject: [PATCH] span instead of label
---
webinterface.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/webinterface.py b/webinterface.py
index 4819d852..ab08c07f 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -5400,19 +5400,19 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
htmlStr += '' + \
'' + \
- '' + totalVotesStr
+ '' + item[0] + \
+ '' + totalVotesStr
if moderator:
htmlStr += \
' ' + \
'' + \
- '
'
+ ''
+ htmlStr += dateStr.replace('+00:00', '') + '
'
else:
- htmlStr += ' '
+ htmlStr += ' '
+ htmlStr += dateStr.replace('+00:00', '') + ''
else:
totalVotesStr = ''
totalVotes = 0
@@ -5429,23 +5429,23 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
if moderator and moderatedItem:
htmlStr += '' + \
'' + \
- '' + totalVotesStr
+ '' + \
+ item[0] + '' + totalVotesStr
htmlStr += \
' ' + \
'' + \
- '
'
+ ''
+ htmlStr += dateStr.replace('+00:00', '') + ''
else:
htmlStr += '' + \
'' + \
- '' + \
+ '' + \
+ item[0] + '' + \
totalVotesStr
- htmlStr += '
'
+ htmlStr += ' '
+ htmlStr += dateStr.replace('+00:00', '') + ''
return htmlStr