diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -64,10 +64,16 @@ h.url('summary_home',repo_name=repo['name']))} ${h.truncate(repo['description'],60)} ${h.age(repo['last_change'])} - ${h.link_to_if(repo['rev']>=0,'r%s:%s' % (repo['rev'],repo['tip']), + + %if repo['rev']>=0: + ${h.link_to('r%s:%s' % (repo['rev'],repo['tip']), h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']), class_="tooltip", - tooltip_title=h.tooltip(repo['last_msg']))} + tooltip_title=h.tooltip(repo['last_msg']))} + %else: + ${_('No changesets yet')} + %endif + ${h.person(repo['contact'])}