Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show toolbar and follow button for list visitor #9908

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schu96
Copy link
Contributor

@schu96 schu96 commented Sep 25, 2024

Closes #9337

Fix

Technical

Remove if/else condition, uses the lst['key'] to determine if the user is the owner of the list and show relevant components within the account/view.html template.

Testing

  • Create two user accounts and use one account to create a list of books
  • Navigate to the list page and check that the follow button does not appear within the list of lists and single list webpages.
  • Sign out of the list creator account and sign into the other newly created account.
  • Navigate to the created book list, verify that the follow button appears on the list page and that pressing follow will add the creator's account to the visitor's Following tab.

Screenshot

image
image
image
image

Stakeholders

@jimchamp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix List pages so MyBooks sidebar + Follows btn appear
2 participants