forked from indymedia/epicyon
Show newswire date
parent
8078177a0f
commit
ef2bbfa615
|
@ -74,6 +74,7 @@
|
|||
--column-left-header-size: 20px;
|
||||
--column-left-icon-size: 20%;
|
||||
--column-right-icon-size: 20%;
|
||||
--newswire-date-color: white;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -228,6 +229,12 @@ a:focus {
|
|||
color: var(--column-right-fg-color);
|
||||
}
|
||||
|
||||
.newswireDate {
|
||||
font-size: var(--font-size-newswire);
|
||||
color: var(--newswire-date-color);
|
||||
float: right;
|
||||
}
|
||||
|
||||
.new-post-text {
|
||||
font-size: var(--font-size2);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
|
|
|
@ -5343,7 +5343,9 @@ def htmlNewswire(newswire: str) -> str:
|
|||
htmlStr = ''
|
||||
for dateStr, item in newswire.items():
|
||||
htmlStr += '<p class="newswireItem">' + \
|
||||
'<a href="' + item[1] + '">' + item[0] + '</a></p>'
|
||||
'<a href="' + item[1] + '">' + item[0] + '</a><br>'
|
||||
htmlStr += '<label class="newswireDate">'
|
||||
htmlStr += dateStr + '</label></p>'
|
||||
return htmlStr
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue