## -*- coding: utf-8 -*- <%def name="get_typ_name(id)"> % for types in g.mpuls_config.get('logbook', 'types')[1]['options']: % if unicode(types[0]) == unicode(id): ${types[1]} % endif % endfor %def> % if len(g.mpuls_config.get('logbook', 'types')) > 1:
Art | ${_('Number of contacts')} | ${_('Effort (minutes)')} | ${_('in percent')} |
---|---|---|---|
${get_typ_name(class_statistic['typ'])} | ${"%.f" % class_statistic['amount']} | ${"%.f" % class_statistic['time']} | ${"%.1f" % class_statistic['percent']} |
${_('TOTAL')} | ${"%.f" % c.eval_typ_effort['total']['amount']} | ${"%.f" % c.eval_typ_effort['total']['time']} | ${c.eval_typ_effort['total']['percent']} |