JonathanGarro / SIMS-Portal

IFRC Surge Information Management Support Portal
4 stars 4 forks source link

"Template not found" error page when clicking through from support profiles #52

Closed pknight03 closed 1 year ago

pknight03 commented 1 year ago

On my personal profile page, I clicked "see tiers" on the "support profiles" section on the left of the page (https://rcrcsims.org/profile/view/24), then if I click the badge provided (https://rcrcsims.org/support_profiles/24), it takes me here (https://rcrcsims.org/role_profile/Geo) which displays "Template not found".

This is the same for other people's pages too

image

JonathanGarro commented 1 year ago

The link constructor was inheriting a name in capital case. I've added |lower to the jinja tag, which seems to have solved this. Will be included in next release.