mirror of https://gitlab.com/bashrc2/epicyon
Don't show license icon on news front page
parent
c002adccc6
commit
28d57f492b
|
@ -627,11 +627,13 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
bannerFile, bannerFilename = \
|
bannerFile, bannerFilename = \
|
||||||
getBannerFile(baseDir, nickname, domain)
|
getBannerFile(baseDir, nickname, domain)
|
||||||
|
|
||||||
licenseStr = \
|
licenseStr = ''
|
||||||
'<a href="https://gitlab.com/bashrc2/epicyon">' + \
|
if not isSystemAccount(nickname):
|
||||||
'<img loading="lazy" class="license" alt="' + \
|
licenseStr = \
|
||||||
translate['Get the source code'] + '" title="' + \
|
'<a href="https://gitlab.com/bashrc2/epicyon">' + \
|
||||||
translate['Get the source code'] + '" src="/icons/agpl.png" /></a>'
|
'<img loading="lazy" class="license" alt="' + \
|
||||||
|
translate['Get the source code'] + '" title="' + \
|
||||||
|
translate['Get the source code'] + '" src="/icons/agpl.png" /></a>'
|
||||||
|
|
||||||
if selected == 'posts':
|
if selected == 'posts':
|
||||||
profileStr += \
|
profileStr += \
|
||||||
|
|
Loading…
Reference in New Issue