diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 376: say "pass" rather than "Test passed" etc in a few places

Message ID 20121217001212.32665.80794.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson Dec. 17, 2012, 12:12 a.m. UTC
------------------------------------------------------------
revno: 376
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Mon 2012-12-17 13:10:53 +1300
message:
  say "pass" rather than "Test passed" etc in a few places
modified:
  dashboard_app/templates/dashboard_app/test_result_detail.html
  dashboard_app/views/__init__.py


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/templates/dashboard_app/test_result_detail.html'
--- dashboard_app/templates/dashboard_app/test_result_detail.html	2012-12-11 02:05:33 +0000
+++ dashboard_app/templates/dashboard_app/test_result_detail.html	2012-12-17 00:10:53 +0000
@@ -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'
--- dashboard_app/views/__init__.py	2012-12-11 02:01:37 +0000
+++ dashboard_app/views/__init__.py	2012-12-17 00:10:53 +0000
@@ -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"