mirror of https://gitlab.com/bashrc2/epicyon
Remove alt text for cleaner look in shell browser
parent
5387df1c09
commit
a5b60d7fce
|
@ -324,7 +324,7 @@ def _getProfileHeader(baseDir: str, httpPrefix: str,
|
||||||
nickname + '/' + defaultTimeline + '" title="' + \
|
nickname + '/' + defaultTimeline + '" title="' + \
|
||||||
translate['Switch to timeline view'] + '">\n'
|
translate['Switch to timeline view'] + '">\n'
|
||||||
htmlStr += ' <img class="profileBackground" ' + \
|
htmlStr += ' <img class="profileBackground" ' + \
|
||||||
'alt="' + translate['Background image'] + '" ' + \
|
'alt="" ' + \
|
||||||
'src="/users/' + nickname + '/image_' + theme + '.png" /></a>\n'
|
'src="/users/' + nickname + '/image_' + theme + '.png" /></a>\n'
|
||||||
htmlStr += ' <figcaption>\n'
|
htmlStr += ' <figcaption>\n'
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
|
@ -332,8 +332,7 @@ def _getProfileHeader(baseDir: str, httpPrefix: str,
|
||||||
nickname + '/' + defaultTimeline + '" title="' + \
|
nickname + '/' + defaultTimeline + '" title="' + \
|
||||||
translate['Switch to timeline view'] + '">\n' + \
|
translate['Switch to timeline view'] + '">\n' + \
|
||||||
' <img loading="lazy" src="' + avatarUrl + '" ' + \
|
' <img loading="lazy" src="' + avatarUrl + '" ' + \
|
||||||
'alt="' + translate['Avatar image'] + '" ' + \
|
'alt="" class="title"></a>\n'
|
||||||
' class="title"></a>\n'
|
|
||||||
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
' <p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
||||||
|
@ -405,7 +404,7 @@ def _getProfileHeaderAfterSearch(baseDir: str,
|
||||||
nickname + '/' + defaultTimeline + '" title="' + \
|
nickname + '/' + defaultTimeline + '" title="' + \
|
||||||
translate['Switch to timeline view'] + '">\n'
|
translate['Switch to timeline view'] + '">\n'
|
||||||
htmlStr += ' <img class="profileBackground" ' + \
|
htmlStr += ' <img class="profileBackground" ' + \
|
||||||
'alt="' + translate['Background image'] + '" ' + \
|
'alt="" ' + \
|
||||||
'src="' + imageUrl + '" /></a>\n'
|
'src="' + imageUrl + '" /></a>\n'
|
||||||
htmlStr += ' <figcaption>\n'
|
htmlStr += ' <figcaption>\n'
|
||||||
if avatarUrl:
|
if avatarUrl:
|
||||||
|
@ -414,8 +413,7 @@ def _getProfileHeaderAfterSearch(baseDir: str,
|
||||||
translate['Switch to timeline view'] + '">\n'
|
translate['Switch to timeline view'] + '">\n'
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <img loading="lazy" src="' + avatarUrl + '" ' + \
|
' <img loading="lazy" src="' + avatarUrl + '" ' + \
|
||||||
'alt="' + translate['Avatar image'] + '" ' + \
|
'alt="" class="title"></a>\n'
|
||||||
' class="title"></a>\n'
|
|
||||||
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <p><b>@' + searchNickname + '@' + searchDomainFull + '</b><br>\n'
|
' <p><b>@' + searchNickname + '@' + searchDomainFull + '</b><br>\n'
|
||||||
|
|
Loading…
Reference in New Issue