Copyright message displayed in footer even when empty
Bug #120067 reported by
JW
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Chameleon (inactive) |
Fix Released
|
Low
|
JW |
Bug Description
In the default theme, the copyright and license messages are still displayed in the footer, even when the settings are empty. Because of this, a dot and the text "All texts on this site are licensed under ." is displayed in the footer for no reason.
This error applies only to version 0.6.0.
Changed in chameleon: | |
status: | In Progress → Fix Committed |
Changed in chameleon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is caused by the fact that in the if's, we use "empty" instead of "empty?" to check if a setting is empty. general_ copyright != empty? %}
The first if should for example be:
{% if option.
Instead of the same but without the question mark.