CiviWiki / OpenCiviWiki

Building a Better Democracy for the Internet Age
https://civi.wiki
Other
587 stars 346 forks source link

Template Syntax error in global navbar #1501

Closed ashfaq1934 closed 1 year ago

ashfaq1934 commented 1 year ago

Description

During setup for local development, I encountered a Template Syntax error when visiting any page other than the landing page. It said:

TemplateSyntaxError at /login/ Invalid block tag on line 6: 'static'. Did you forget to register or load this tag?

The error occurs in the global_nav.html template because a static image is being loaded in and {% load static %} hasn't been called yet. Once I load the static template tag, everything works as expected. I've made a small pull request for this issue

What should have happened?

I should be able to view other pages in the project.

What browser(s) are you seeing the problem on?

Not applicable

Further details

Screenshot from 2023-04-19 23-36-00