Mercurial > kallithea
diff pylons_app/templates/index.html @ 281:cd2ee462fc2c
implemented yui tooltip, and added it into annotation and main page.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Jun 2010 23:14:04 +0200 |
parents | bd70107ef256 |
children | 237470e64bb8 |
line wrap: on
line diff
--- a/pylons_app/templates/index.html Sun Jun 13 18:18:49 2010 +0200 +++ b/pylons_app/templates/index.html Sun Jun 13 23:14:04 2010 +0200 @@ -35,10 +35,14 @@ </tr> %for cnt,repo in enumerate(c.repos_list): <tr class="parity${cnt%2}"> - <td>${h.link(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td> + <td>${h.link_to(repo['name'], + h.url('summary_home',repo_name=repo['name']))}</td> <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td> <td>${repo['last_change']|n,filters.age}</td> - <td>${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']))}</td> + <td>${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']))}</td> <td title="${repo['contact']}">${repo['contact']|n,filters.person}</td> <td> <a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_logo" href="${h.url('rss_feed_home',repo_name=repo['name'])}"></a>