mirror of https://gitlab.com/bashrc2/epicyon
View only style
parent
19ffc6d0b4
commit
edeb8f9960
|
@ -222,15 +222,27 @@ def htmlProfileAfterSearch(cssCache: {},
|
||||||
personUrl + '">\n' + \
|
personUrl + '">\n' + \
|
||||||
' <button type="submit" class="button" name="submitYes" ' + \
|
' <button type="submit" class="button" name="submitYes" ' + \
|
||||||
'accesskey="' + accessKeys['followButton'] + '">' + \
|
'accesskey="' + accessKeys['followButton'] + '">' + \
|
||||||
translate['Follow'] + '</button>\n'
|
translate['Follow'] + '</button>\n' + \
|
||||||
|
' <button type="submit" class="button" name="submitView" ' + \
|
||||||
profileStr += \
|
'accesskey="' + accessKeys['viewButton'] + '">' + \
|
||||||
' <button type="submit" class="button" name="submitView" ' + \
|
translate['View'] + '</button>\n' + \
|
||||||
'accesskey="' + accessKeys['viewButton'] + '">' + \
|
' </center>\n' + \
|
||||||
translate['View'] + '</button>\n' + \
|
' </form>\n' + \
|
||||||
' </center>\n' + \
|
'</div>\n'
|
||||||
' </form>\n' + \
|
else:
|
||||||
'</div>\n'
|
profileStr += \
|
||||||
|
'<div class="container">\n' + \
|
||||||
|
' <form method="POST" action="' + \
|
||||||
|
backUrl + '/followconfirm">\n' + \
|
||||||
|
' <center>\n' + \
|
||||||
|
' <input type="hidden" name="actor" value="' + \
|
||||||
|
personUrl + '">\n' + \
|
||||||
|
' <button type="submit" class="button" name="submitView" ' + \
|
||||||
|
'accesskey="' + accessKeys['viewButton'] + '">' + \
|
||||||
|
translate['View'] + '</button>\n' + \
|
||||||
|
' </center>\n' + \
|
||||||
|
' </form>\n' + \
|
||||||
|
'</div>\n'
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
for item in parseUserFeed(session, outboxUrl, asHeader,
|
for item in parseUserFeed(session, outboxUrl, asHeader,
|
||||||
|
|
Loading…
Reference in New Issue