Can still view even if cannot follow

merge-requests/30/head
Bob Mottram 2021-07-28 14:58:59 +01:00
parent 35f6921d7e
commit 19ffc6d0b4
1 changed files with 9 additions and 7 deletions

View File

@ -222,13 +222,15 @@ def htmlProfileAfterSearch(cssCache: {},
personUrl + '">\n' + \
' <button type="submit" class="button" name="submitYes" ' + \
'accesskey="' + accessKeys['followButton'] + '">' + \
translate['Follow'] + '</button>\n' + \
' <button type="submit" class="button" name="submitView" ' + \
'accesskey="' + accessKeys['viewButton'] + '">' + \
translate['View'] + '</button>\n' + \
' </center>\n' + \
' </form>\n' + \
'</div>\n'
translate['Follow'] + '</button>\n'
profileStr += \
' <button type="submit" class="button" name="submitView" ' + \
'accesskey="' + accessKeys['viewButton'] + '">' + \
translate['View'] + '</button>\n' + \
' </center>\n' + \
' </form>\n' + \
'</div>\n'
i = 0
for item in parseUserFeed(session, outboxUrl, asHeader,