diff --git a/epicyon-profile.css b/epicyon-profile.css index e6a0bc43d..e177cdfd9 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -1464,7 +1464,7 @@ aside .toggle-inside li { height: 6%; background-position: center; background-repeat: no-repeat; - background-size: 100vw; + background-size: 145vw; position: relative; } .timeline { diff --git a/img/banner_indymedia.png b/img/banner_indymedia.png index ac83cc226..402edad2a 100644 Binary files a/img/banner_indymedia.png and b/img/banner_indymedia.png differ diff --git a/webinterface.py b/webinterface.py index 6573e3148..fc14face5 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5272,7 +5272,54 @@ def getRightColumnContent(baseDir: str, nickname: str, domain: str) -> str: """Returns html content for the right column """ htmlStr = '' - # TODO + + domain = domainFull + if ':' in domain: + domain = domain.split(':') + + rightColumnImageFilename = \ + baseDir + '/accounts/' + nickname + '@' + domain + \ + '/right_col_image.png' + if not os.path.isfile(rightColumnImageFilename): + theme = getConfigParam(baseDir, 'theme').lower() + if theme == 'default': + theme = '' + else: + theme = '_' + theme + themeRightColumnImageFilename = \ + baseDir + '/img/right_col_image' + theme + '.png' + if os.path.isfile(themeRightColumnImageFilename): + copyfile(themeRightColumnImageFilename, rightColumnImageFilename) + + # show the image at the top of the column + editImageClass = 'rightColEdit' + if os.path.isfile(rightColumnImageFilename): + editImageClass = 'rightColEditImage' + htmlStr += \ + '
\n' + \ + ' \n' + \ + '
\n' + + if editImageClass == 'rightColEdit': + htmlStr += '
\n' + + if moderator: + # show the edit icon + htmlStr += \ + ' ' + \ + '' + \
+            translate['Edit Links'] + '\n' + + if editImageClass == 'rightColEdit': + htmlStr += '
\n' + else: + htmlStr += '
\n' return htmlStr