forked from indymedia/epicyon
Different highlight character
parent
d5700c58fe
commit
727755a45a
|
@ -4197,7 +4197,7 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
|
||||||
"""
|
"""
|
||||||
if not highlight:
|
if not highlight:
|
||||||
return label
|
return label
|
||||||
return '[' + label + ']'
|
return '*' + label + '*'
|
||||||
|
|
||||||
|
|
||||||
def htmlTimeline(defaultTimeline: str,
|
def htmlTimeline(defaultTimeline: str,
|
||||||
|
@ -4515,7 +4515,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
calendarAltText = translate['Calendar']
|
calendarAltText = translate['Calendar']
|
||||||
if newCalendarEvent:
|
if newCalendarEvent:
|
||||||
# indicate that the calendar icon is highlighted
|
# indicate that the calendar icon is highlighted
|
||||||
calendarAltText = '[' + calendarAltText + ']'
|
calendarAltText = '*' + calendarAltText + '*'
|
||||||
tlStr += \
|
tlStr += \
|
||||||
' <a href="' + usersPath + calendarPath + \
|
' <a href="' + usersPath + calendarPath + \
|
||||||
'"><img loading="lazy" src="/' + iconsDir + '/' + \
|
'"><img loading="lazy" src="/' + iconsDir + '/' + \
|
||||||
|
|
Loading…
Reference in New Issue