Changeset - 27d214c87144
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 11 years ago 2015-03-03 22:33:46
thomas.de.schampheleire@gmail.com
pullrequest overview: show age rather than date

Since pullrequests are supposed to be short-lived, the age is more relevant
than the actual date (which is still shown in a tooltip).
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/pullrequests/pullrequest_data.html
Show inline comments
 
@@ -14,7 +14,7 @@
 
        <th></th>
 
        <th class="left">${_('Title')}</th>
 
        <th class="left">${_('Author')}</th>
 
        <th class="left">${_('Date')}</th>
 
        <th class="left">${_('Age')}</th>
 
        <th class="left">${_('From')}</th>
 
        <th class="left">${_('To')}</th>
 
      </tr>
 
@@ -54,7 +54,9 @@
 
        ${pr.author.username_and_name}
 
      </td>
 
      <td>
 
        ${h.fmt_date(pr.created_on)}
 
        <span class="tooltip" title="${h.tooltip(h.fmt_date(pr.created_on))}">
 
          ${h.age(pr.created_on)}
 
        </span>
 
      </td>
 
      <td>
 
        <% org_ref_name=pr.org_ref.rsplit(':', 2)[-2] %>
0 comments (0 inline, 0 general)