=== modified file 'dashboard_app/templates/dashboard_app/test_result_detail.html'
@@ -13,11 +13,11 @@
{% block content %}
<h2>Result: {{ test_result.test_case|default:"<i>unknown test case</i>" }}</h2>
<dl>
- <dt>{% trans "Test outcome" %}</dt>
+ <dt>{% trans "Outcome" %}</dt>
<dd>
<img src="{{ STATIC_URL }}dashboard_app/images/icon-{{ test_result.result_code }}.png"
- alt="{{ test_result.get_result_display }}" width="16" height="16" border="0"/>
- {{ test_result.get_result_display }}
+ alt="{{ test_result.result_code }}" width="16" height="16" border="0"/>
+ {{ test_result.result_code }}
</dd>
<dt>{% trans "Measurement" %}</dt>
<dd>
=== modified file 'dashboard_app/views/__init__.py'
@@ -421,8 +421,7 @@
result = TemplateColumn('''
<a href="{{record.get_absolute_url}}">
<img src="{{ STATIC_URL }}dashboard_app/images/icon-{{ record.result_code }}.png"
- alt="{{ record.get_result_display }}" width="16" height="16" border="0"/></a>
- <a href="{{record.get_absolute_url}}">{{ record.get_result_display }}</a>
+ alt="{{ record.result_code }}" width="16" height="16" border="0"/>{{ record.result_code }}
{% if record.attachments__count %}
<a href="{{record.get_absolute_url}}#attachments">
<img style="float:right;" src="{{ STATIC_URL }}dashboard_app/images/attachment.png"