[Creativecommons-website-commits] [creativecommons/creativecommons.org] 6ae26a: Add a per-language option to hide the banner
GitHub
noreply at github.com
Fri Mar 17 00:40:16 GMT 2017
Branch: refs/heads/feature/deed-redesign
Home: https://github.com/creativecommons/creativecommons.org
Commit: 6ae26a46980901b0a8bbf0b3ead4f7af858264cb
https://github.com/creativecommons/creativecommons.org/commit/6ae26a46980901b0a8bbf0b3ead4f7af858264cb
Author: Dylan McCall <dylan at affinitybridge.com>
Date: 2017-03-16 (Thu, 16 Mar 2017)
Changed paths:
M python_env/src/cc.engine/cc/engine/templates/macros_templates/deed.html
Log Message:
-----------
Add a per-language option to hide the banner
By default, we set the "hide-banner" class on the body element for any
language other than "en". We mark "hide-banner" for translation, so once
the banner content has been translated in a particular language, they
can add a translation for "hide-banner" that replaces it with an empty
string.
This change requires additional support in the CSS provided by the
creativecommons.org repository.
More information about the Creativecommons-website-commits
mailing list