git » git-arr » commit 2f65291

Fix committer field in the commit view

author Alberto Bertogli
2013-11-03 10:57:54 UTC
committer Alberto Bertogli
2013-11-03 10:57:54 UTC
parent f6a75820e812f1ab44545cf01f4c475952df0821

Fix committer field in the commit view

The commit view shows the author information in the committer field; this
patch fixes it by showing the appropriate fields.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

views/commit.html +4 -4

diff --git a/views/commit.html b/views/commit.html
index bc3119c..1ddc4d8 100644
--- a/views/commit.html
+++ b/views/commit.html
@@ -22,10 +22,10 @@
             <span class="date" title="{{c.author_date}}">
                 {{c.author_date.utc}} UTC</span></td></tr>
     <tr><td>committer</td>
-        <td><span class="name">{{c.author_name}}</span>
-            <span class="email">&lt;{{c.author_email}}&gt;</span><br/>
-            <span class="date" title="{{c.author_date}}">
-                {{c.author_date.utc}} UTC</span></td></tr>
+        <td><span class="name">{{c.committer_name}}</span>
+            <span class="email">&lt;{{c.committer_email}}&gt;</span><br/>
+            <span class="date" title="{{c.committer_date}}">
+                {{c.committer_date.utc}} UTC</span></td></tr>
 
 % for p in c.parents:
     <tr><td>parent</td>