diff pylons_app/templates/admin/users/user_edit_my_account.html @ 450:c3236d7febad

fixed, empty cs bug. Implemented as webhlepers function
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 03 Sep 2010 09:55:48 +0200
parents 70c2750531d3
children 87d80c84df09
line wrap: on
line diff
--- a/pylons_app/templates/admin/users/user_edit_my_account.html	Fri Sep 03 09:23:50 2010 +0200
+++ b/pylons_app/templates/admin/users/user_edit_my_account.html	Fri Sep 03 09:55:48 2010 +0200
@@ -98,7 +98,7 @@
 	             %endif
 	                                             
 	            ${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name))}</td> 
-	            <td>${_('revision')}: ${repo.revisions[-1]}</td>
+	            <td>${_('revision')}: ${h.get_changeset_safe(repo,'tip').revision}</td>
 	            <td>${_('last changed')}: ${h.age(repo.last_change)}</td>
 	            <td><img class="icon" alt="${_('private')}" src="/images/icons/application_form_edit.png"/> ${h.link_to(_('edit'),h.url('edit_repo',repo_name=repo.name))}</td>
 	        </tr>