--- a/templates/results.html Mon Sep 28 01:55:31 2015 +0800
+++ b/templates/results.html Mon Sep 28 01:56:59 2015 +0800
<td>{{ ', '.join(cset['tags']) }}</td>
<td title="{{ showuser(cset['user']) }}">{{ showuser(cset['user'], short=True) }}</td>
<td class="hint"><div title="{{ cset['desc'] }}">{{ cset['desc'].partition('\n')[0] }}</div></td>
- {% for mark in marks %}
- {% set result = results.get(cset['node'], {}) %}
- {% set v1, c1, v2, c2 = result.get(mark, (None, None, None, None)) %}
- <span{% if c1 is not None %} class="{{ colormap[c1] }}"{% end %}> </span>{#
- #}<span{% if c2 is not None %} class="{{ colormap[c2] }}"{% end %}> </span>
- <span title="{{ v1 }} without .hg/cache">{{ '{:.2f}s'.format(v1) if v1 is not None else '-' }}</span>{#
+ {% for mark in marks %}{#
+ #}{% set result = results.get(cset['node'], {}) %}{#
+ #}{% set v1, c1, v2, c2 = result.get(mark, (None, None, None, None)) %}{#
+ #}<span{% if c1 is not None %} class="{{ colormap[c1] }}"{% end %}> </span>{#
+ #}<span{% if c2 is not None %} class="{{ colormap[c2] }}"{% end %}> </span>{#
+ #}<span title="{{ v1 }} without .hg/cache">{{ '{:.2f}s'.format(v1) if v1 is not None else '-' }}</span>{#
- #}<span title="{{ v2 }} with .hg/cache">{{ '{:.2f}s'.format(v2) if v2 is not None else '-' }}</span>
+ #}<span title="{{ v2 }} with .hg/cache">{{ '{:.2f}s'.format(v2) if v2 is not None else '-' }}</span>{#