### MAKO DEFS ###
<%def name="page_nav()">
${self.menu()}
${self.submenu()}
%def>
<%def name="menu(current)">
<%
def is_current(selected):
if selected == current:
return "class='current'"
%>
%if current not in ['home','admin']:
##regular menu
-
↓
- ${h.link_to(_('summary'),h.url('summary_home',repo_name=c.repo_name))}
- ${h.link_to(_('shortlog'),h.url('shortlog_home',repo_name=c.repo_name))}
- ${h.link_to(_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}
- ${h.link_to(_('branches'),h.url('branches_home',repo_name=c.repo_name))}
- ${h.link_to(_('tags'),h.url('tags_home',repo_name=c.repo_name))}
- ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name))}
%if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
- ${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name))}
%endif