need template tags to make site branding configuration available to all templates
Bug #711010 reported by
Devin Carlen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django-nova |
Fix Released
|
High
|
Devin Carlen |
Bug Description
Recently the SITE_BRANDING and SITE_NAME settings were added in order to generalize the branding of the site using the django-nova module.
However, there are still many places in the templates where "OpenStack" is hardcoded. The best solution for this problem is to create custom django template tags to read this configuration and make it available to all templates.
This will allow custom sites to be built without having to override the django templates whenever this value needs to be changed.
Related branches
lp:~devcamcar/django-nova/lp711010
- Devin Carlen: Pending requested
- Ken Pepple: Pending requested
-
Diff: 62 lines (+42/-1)2 files modifiedsrc/django_nova/templates/django_nova/credentials/expired.html (+5/-1)
src/django_nova/templatetags/django_nova_tags.py (+37/-0)
description: | updated |
summary: |
- need middleware to make site branding configuration available to all + need template tags to make site branding configuration available to all templates |
Changed in django-nova: | |
status: | New → Fix Committed |
Changed in django-nova: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.