changeset 799:6d37fe113da0 beta

fixes to #85, some other small changes for summary page
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 03 Dec 2010 13:09:21 +0100
parents be15cc83361c
children e41aacb6aa18
files rhodecode/templates/branches/branches_data.html rhodecode/templates/index.html rhodecode/templates/shortlog/shortlog_data.html rhodecode/templates/tags/tags_data.html
diffstat 4 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/branches/branches_data.html	Thu Dec 02 03:52:26 2010 +0100
+++ b/rhodecode/templates/branches/branches_data.html	Fri Dec 03 13:09:21 2010 +0100
@@ -9,7 +9,9 @@
         </tr>
 		%for cnt,branch in enumerate(c.repo_branches.items()):
 		<tr class="parity${cnt%2}">
-            <td>${branch[1].date} - ${h.age(branch[1].date)}</td>
+            <td><span class="tooltip" tooltip_title="${h.age(branch[1].date)}">
+                      ${branch[1].date}</span>
+            </td>
             <td>
                 <span class="logtags">
                     <span class="branchtag">${h.link_to(branch[0],
--- a/rhodecode/templates/index.html	Thu Dec 02 03:52:26 2010 +0100
+++ b/rhodecode/templates/index.html	Fri Dec 03 13:09:21 2010 +0100
@@ -92,8 +92,8 @@
 		            </td>
 		            ##LAST CHANGE
 		            <td>
-		              <span class="tooltip" tooltip_title="${h.age(repo['last_change'])}">
-		              ${repo['last_change']}</span>
+		              <span class="tooltip" tooltip_title="${repo['last_change']}">
+		              ${h.age(repo['last_change'])}</span>
 		            </td>
 		            <td>
 		            	%if repo['rev']>=0:
--- a/rhodecode/templates/shortlog/shortlog_data.html	Thu Dec 02 03:52:26 2010 +0100
+++ b/rhodecode/templates/shortlog/shortlog_data.html	Fri Dec 03 13:09:21 2010 +0100
@@ -2,8 +2,8 @@
 % if c.repo_changesets:
 <table>
 	<tr>
-		<th class="left">${_('date')}</th>
 		<th class="left">${_('commit message')}</th>
+		<th class="left">${_('age')}</th>
 		<th class="left">${_('author')}</th>
 		<th class="left">${_('revision')}</th>
 		<th class="left">${_('branch')}</th>
@@ -13,12 +13,14 @@
 	</tr>
 %for cnt,cs in enumerate(c.repo_changesets):
 	<tr class="parity${cnt%2}">
-		<td>${cs.date} - ${h.age(cs.date)}</td>
         <td>
             ${h.link_to(h.truncate(cs.message,60),
             h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id),
             title=cs.message)}
-        </td>		
+        </td>
+        <td><span class="tooltip" tooltip_title="${cs.date}">
+                      ${h.age(cs.date)}</span>
+        </td>        	
 		<td title="${cs.author}">${h.person(cs.author)}</td>
 		<td>r${cs.revision}:${h.short_id(cs.raw_id)}</td>
 		<td>
--- a/rhodecode/templates/tags/tags_data.html	Thu Dec 02 03:52:26 2010 +0100
+++ b/rhodecode/templates/tags/tags_data.html	Fri Dec 03 13:09:21 2010 +0100
@@ -9,7 +9,9 @@
     	</tr>
 		%for cnt,tag in enumerate(c.repo_tags.items()):
 		<tr class="parity${cnt%2}">		
-	        <td>${tag[1].date} - ${h.age(tag[1].date)}</td>
+	        <td><span class="tooltip" tooltip_title="${h.age(tag[1].date)}">
+                      ${tag[1].date}</span>
+            </td>
             <td>
                 <span class="logtags">
                     <span class="tagtag">${h.link_to(tag[0],