66463ec963b6

Merged in abegey/hg-review/issue-93 (pull request #10)

[index] Add the owner of the cset in a td beetween id and description
[view raw] [browse files]
author Christophe de Vienne <cdevienne@gmail.com>
date Fri, 21 Nov 2014 19:01:07 +0100
parents 87fcb432d230 (current diff) 627b1d4e0fa3 (diff)
children 729e7c661a88
branches/tags (none)
files review/templates/index.html

Changes

--- a/review/static/styles/style.less	Fri Nov 21 18:38:48 2014 +0100
+++ b/review/static/styles/style.less	Fri Nov 21 19:01:07 2014 +0100
@@ -263,6 +263,10 @@
                     overflow: hidden;
                     text-overflow: ellipsis;
                 }
+                &.user {
+                    text-align: center;
+                    white-space: nowrap;
+                }
                 &.desc {
                     a {
                         display: inline-block;
--- a/review/templates/index.html	Fri Nov 21 18:38:48 2014 +0100
+++ b/review/templates/index.html	Fri Nov 21 19:01:07 2014 +0100
@@ -13,6 +13,7 @@
 
             <tr>
                 <td class="node"><span class="rev">{{ rev.rev() }}</span><span class="sep">:</span><span class="hash">{{ node_short }}</span></td>
+                <td class="user">{{ utils['person'](rev.user()) }}</td>
                 <td class="desc">
                     <a class="changeset-link" href="{{ link }}">
                         {% if rev.branch() != 'default' %}