forked from indymedia/epicyon
Change endpoint name
parent
037a414ca9
commit
c3d5523b07
|
@ -9155,7 +9155,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
if htmlGET and '/users/' in self.path:
|
if htmlGET and '/users/' in self.path:
|
||||||
print('TEST1 ' + self.path)
|
print('TEST1 ' + self.path)
|
||||||
if self.path.endswith('/newswire'):
|
if self.path.endswith('/newswiremobile'):
|
||||||
print('TEST2 ' + self.path)
|
print('TEST2 ' + self.path)
|
||||||
nickname = getNicknameFromActor(self.path)
|
nickname = getNicknameFromActor(self.path)
|
||||||
if not nickname:
|
if not nickname:
|
||||||
|
|
|
@ -6210,8 +6210,8 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
# the newswire button to show right column links
|
# the newswire button to show right column links
|
||||||
tlStr += \
|
tlStr += \
|
||||||
' <a class="imageAnchorMobile" href="' + \
|
' <a class="imageAnchorMobile" href="' + \
|
||||||
usersPath + '/newswire' + \
|
usersPath + '/newswiremobile">' + \
|
||||||
'"><img loading="lazy" src="/' + iconsDir + \
|
'<img loading="lazy" src="/' + iconsDir + \
|
||||||
'/newswire.png" title="' + translate['News'] + \
|
'/newswire.png" title="' + translate['News'] + \
|
||||||
'" alt="| ' + translate['News'] + \
|
'" alt="| ' + translate['News'] + \
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
|
@ -6219,8 +6219,8 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
# the links button to show left column links
|
# the links button to show left column links
|
||||||
tlStr += \
|
tlStr += \
|
||||||
' <a class="imageAnchorMobile" href="' + \
|
' <a class="imageAnchorMobile" href="' + \
|
||||||
usersPath + '/links' + \
|
usersPath + '/links">' + \
|
||||||
'"><img loading="lazy" src="/' + iconsDir + \
|
'<img loading="lazy" src="/' + iconsDir + \
|
||||||
'/links.png" title="' + translate['Edit Links'] + \
|
'/links.png" title="' + translate['Edit Links'] + \
|
||||||
'" alt="| ' + translate['Edit Links'] + \
|
'" alt="| ' + translate['Edit Links'] + \
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
|
|
Loading…
Reference in New Issue