Narrowed is_authenticated check in verfication_modal to only restrict… #3411
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… report button
Description
This PR makes a minor change to the is_authenticated check in the template for the external book link verification modal so that only the "Report Spam" button is locked behind login.
What type of Pull Request is this?
Does this PR change settings or dependencies, or break something?
Details of breaking or configuration changes (if any of above checked)
N/A
Documentation
N/A
Tests
I could not find any tests currently exercising this modal, although there are tests for the book and links view in general. I don't know if this change necessarily requires new tests since it just shifts a bit of content in the template, but I'd be happy to try and figure it out if needed.