mirror of https://gitlab.com/bashrc2/epicyon
Newswire item color
parent
4dbbb3a9fa
commit
98b2172a9e
|
@ -14,7 +14,7 @@
|
||||||
--main-header-color-roles: #282237;
|
--main-header-color-roles: #282237;
|
||||||
--main-fg-color: #dddddd;
|
--main-fg-color: #dddddd;
|
||||||
--column-left-fg-color: #dddddd;
|
--column-left-fg-color: #dddddd;
|
||||||
--column-right-fg-color: #dddddd;
|
--column-right-fg-color: yellow;
|
||||||
--column-right-fg-color-voted-on: red;
|
--column-right-fg-color-voted-on: red;
|
||||||
--main-link-color: #999;
|
--main-link-color: #999;
|
||||||
--main-link-color-hover: #bbb;
|
--main-link-color-hover: #bbb;
|
||||||
|
|
|
@ -5390,7 +5390,8 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
|
||||||
for dateStr, item in newswire.items():
|
for dateStr, item in newswire.items():
|
||||||
dateStrLink = dateStr.replace(' ', 'T')
|
dateStrLink = dateStr.replace(' ', 'T')
|
||||||
dateStrLink = dateStrLink.replace('+00:00', '')
|
dateStrLink = dateStrLink.replace('+00:00', '')
|
||||||
if 'vote:' + nickname in item[2]:
|
moderatedItem = item[5]
|
||||||
|
if moderatedItem and 'vote:' + nickname in item[2]:
|
||||||
totalVotesStr = ''
|
totalVotesStr = ''
|
||||||
totalVotes = 0
|
totalVotes = 0
|
||||||
if moderator:
|
if moderator:
|
||||||
|
|
Loading…
Reference in New Issue