Custom tags for Django templates
See the official Django documentation.
- cube.templatetags.cube_tags.licenseAllowedCSS(license: License)
Returns the appropriated bulma CSS class according to license policy.
- Parameters:
license (License) – A License object
- Returns:
A CSS string
- Return type:
string
- cube.templatetags.cube_tags.licenseCopyleftCSS(license: License)
Returns the appropriated bulma CSS class according to license copyleft.
- Parameters:
license (License) – A License object
- Returns:
A CSS string
- Return type:
string