From f767eb17964ca963a8e2f08b4e0d6e09db327f84 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 1 Feb 2021 18:38:08 +0000 Subject: [PATCH] Alt text for images --- webapp_column_left.py | 1 + webapp_column_right.py | 1 + webapp_profile.py | 4 ++++ webapp_timeline.py | 5 +++-- webapp_utils.py | 4 ++-- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/webapp_column_left.py b/webapp_column_left.py index ee7a6de77..7f87b1208 100644 --- a/webapp_column_left.py +++ b/webapp_column_left.py @@ -90,6 +90,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, htmlStr += \ '\n
\n' + \ ' \n' + \ '
\n' diff --git a/webapp_column_right.py b/webapp_column_right.py index 2a5b778d0..3c9d46e45 100644 --- a/webapp_column_right.py +++ b/webapp_column_right.py @@ -92,6 +92,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, htmlStr += \ '\n
\n' + \ ' \n' + \ '
\n' diff --git a/webapp_profile.py b/webapp_profile.py index 9d56310ff..1729c336a 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -324,6 +324,7 @@ def _getProfileHeader(baseDir: str, httpPrefix: str, nickname + '/' + defaultTimeline + '" title="' + \ translate['Switch to timeline view'] + '">\n' htmlStr += ' \n' htmlStr += '
\n' htmlStr += \ @@ -331,6 +332,7 @@ def _getProfileHeader(baseDir: str, httpPrefix: str, nickname + '/' + defaultTimeline + '" title="' + \ translate['Switch to timeline view'] + '">\n' + \ ' \n' htmlStr += '

' + displayName + '

\n' htmlStr += \ @@ -403,6 +405,7 @@ def _getProfileHeaderAfterSearch(baseDir: str, nickname + '/' + defaultTimeline + '" title="' + \ translate['Switch to timeline view'] + '">\n' htmlStr += ' \n' htmlStr += '
\n' if avatarUrl: @@ -411,6 +414,7 @@ def _getProfileHeaderAfterSearch(baseDir: str, translate['Switch to timeline view'] + '">\n' htmlStr += \ ' \n' htmlStr += '

' + displayName + '

\n' htmlStr += \ diff --git a/webapp_timeline.py b/webapp_timeline.py index 8fb46aa52..17b88ff3d 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -388,8 +388,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, '\n' - tlStr += '\n' + \ + tlStr += '\n' + \ '\n' if fullWidthTimelineButtonHeader: diff --git a/webapp_utils.py b/webapp_utils.py index ae8b810bd..1531c912f 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -838,8 +838,8 @@ def htmlPostSeparator(baseDir: str, column: str) -> str: if os.path.isfile(separatorImageFilename): separatorStr = \ '
' + \ - '' + \ - '
\n' + '\n' return separatorStr