Mercurial > kallithea
changeset 6305:93a337bf46fe
repository groups: show breadcrumb
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 10 Nov 2016 16:10:41 +0100 |
parents | a6af26b5ffc1 |
children | 2f008f0153c7 |
files | kallithea/templates/index_base.html |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/index_base.html Thu Nov 10 16:10:41 2016 +0100 +++ b/kallithea/templates/index_base.html Thu Nov 10 16:10:41 2016 +0100 @@ -2,6 +2,16 @@ <div class="panel panel-primary"> <!-- box / title --> <div class="panel-heading clearfix"> + <div class="breadcrumbs"> + %if c.group is not None: + %for group in c.group.parents: + ${h.link_to(group.name, url('repos_group_home', group_name=group.group_name))} + » + %endfor + ${c.group.group_name} + %endif + </div> + %if c.authuser.username != 'default': <ul class="links"> <li>