Add an admin button to the navbar for staff#651
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Sahil590
left a comment
There was a problem hiding this comment.
LGTM. This is where Beautiful soup would come in handy making sure it renders the button if you are a staff member.
You're right, I did think this too. I might actually just wait until #623 is merged and add a then test to this PR |
ddeb1ab to
e31400e
Compare
|
@Sahil590 I've re-requested your review because I added in a couple BeautifulSoup tests. What do you think? |
Based off #623 (comment) I think not adding IDs is the way to go |
973f626 to
aa123b9
Compare
Description
This PR adds an admin button to the account dropdown for staff.
Fixes #645
Type of change
Key checklist
python -m pytest)mkdocs serve)pre-commit run --all-files)Further checks