From 6bc6052968a7b98d41182a845ad99d770dfef60f Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Fri, 12 Jul 2013 20:03:52 +0400 Subject: [PATCH] Missing fields are added to commit details * Added diff stats and company name to module details screen. * Added subject line to engineer details screen. Fixes bug 1200645 Change-Id: If579173e83e40feb473600137060ed2076e53ba4 --- dashboard/templates/engineer_details.html | 1 + dashboard/templates/module_details.html | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dashboard/templates/engineer_details.html b/dashboard/templates/engineer_details.html index 9578a701d..d78d5d307 100644 --- a/dashboard/templates/engineer_details.html +++ b/dashboard/templates/engineer_details.html @@ -33,6 +33,7 @@

{{ rec.date|datetimeformat }} to {{ rec.module }}

+
{{ rec.subject }}
{{ rec|commit_message|safe }}
+ {{ rec.lines_added }} - {{ rec.lines_deleted }}
diff --git a/dashboard/templates/module_details.html b/dashboard/templates/module_details.html index f9dc4222b..fde67a361 100644 --- a/dashboard/templates/module_details.html +++ b/dashboard/templates/module_details.html @@ -48,9 +48,9 @@ {% else %} {{ rec.author }} {% endif %} - {% if rec.company %} + {% if rec.company_name %} ( - {{ rec.company|link('/companies/' + rec.company)|safe }} + {{ rec.company_name|link('/companies/' + rec.company_name)|safe }} ) {% endif %} {{ rec.date|datetimeformat }} @@ -58,6 +58,8 @@
{{ rec.subject }}
{{ rec|commit_message|safe }}
+
+ {{ rec.lines_added }} + - {{ rec.lines_deleted }}
{% endfor %}