Mercurial > kallithea
diff pylons_app/templates/index.html @ 531:6fc59ac322ca
added info about forked repository in few places
added autoloading of parent(forked) for each such repository
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 01 Oct 2010 00:53:38 +0200 |
parents | 63212fea2471 |
children |
line wrap: on
line diff
--- a/pylons_app/templates/index.html Fri Oct 01 00:16:09 2010 +0200 +++ b/pylons_app/templates/index.html Fri Oct 01 00:53:38 2010 +0200 @@ -61,7 +61,14 @@ <img class="icon" alt="${_('public')}" src="/images/icons/lock_open.png"/> %endif ${h.link_to(repo['name'], - h.url('summary_home',repo_name=repo['name']))}</td> + h.url('summary_home',repo_name=repo['name']))} + %if repo['repo'].dbrepo.fork: + <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> + <img class="icon" alt="${_('public')}" + title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" + src="/images/icons/arrow_divide.png"/></a> + %endif + </td> <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td> <td>${h.age(repo['last_change'])}</td> <td>