Skip to content

Conversation

@ashfaq1934
Copy link
Contributor

Closes #1501

Description

This pull request resolves the template syntax error that occurs in global_nav.html.

@@ -1,4 +1,5 @@

{% load static %}
{% load notifications_tags %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to load notification_tags here or is “load static” all that is needed?

Copy link
Contributor Author

@ashfaq1934 ashfaq1934 Apr 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Brylie, thanks for responding.

Sorry I probably should have mentioned this in my pull request, when I don't load in notifications_tags then I get a template syntax error for live_notify_badge tag.
image

@brylie brylie merged commit dcfd17c into CiviWiki:develop Apr 24, 2023
@brylie
Copy link
Contributor

brylie commented Apr 24, 2023

@all-contributors please add @ashfaq1934 for code

@allcontributors
Copy link
Contributor

@brylie

I've put up a pull request to add @ashfaq1934! 🎉

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.

Template Syntax error in global navbar

2 participants