stats.templatetags package#
Submodules#
stats.templatetags.stats_extras module#
- stats.templatetags.stats_extras.escapeat(value)#
Replace ‘@’ with ‘__’, accepted sequence in JS ids.
- stats.templatetags.stats_extras.linked_with(value, arg)#
This filter returns an object (passed in value) enclosed with its absolute url arg is the linked text
- stats.templatetags.stats_extras.markdown(value, arg='')#
Copy of deprecated django.contrib.markup Runs Markdown over a given value, optionally using various extensions python-markdown supports.
Syntax:
{{ value|markdown:"extension1_name,extension2_name..." }}
- stats.templatetags.stats_extras.support_class(value)#
Returns a class depending on the coverage of the translation stats. Value is a translation percentage
- stats.templatetags.stats_extras.support_class_total(stats)#
Returns a class depending on the trend.
- stats.templatetags.stats_extras.vis_stats(stat, scope='full')#
Produce visual stats with green/red bar
- stats.templatetags.stats_extras.vis_word_stats(stat, scope='full')#
Produce visual stats with green/red bar