Files @ 17556a81ec6f
Branch filter:

Location: kallithea/rhodecode/templates/admin/repos_groups/repos_groups.html

Stefan Engel
Make detecting bare Git repositories more robust

Git remote repositories may end on '.git', e.g. myrepo.git. Just checking
for a repository path to end on '.git' causes 'Repository not found' errors
in such a case. To distinguish between bare and normal Git repositories,
check if there is a '/.git' part at the end of the repository path
(i.e. if GIT_DIR is pointing to '.' (bare) or '.git').
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
    ${_('Repository group')} - ${c.rhodecode_name}
</%def>

<%def name="breadcrumbs()">
    <span class="groups_breadcrumbs">
    ${h.link_to(_(u'Home'),h.url('/'))}
    %if c.group.parent_group:
        &raquo; ${h.link_to(c.group.parent_group.name,h.url('repos_group_home',group_name=c.group.parent_group.group_name))}
    %endif
    &raquo; "${c.group.name}" ${_('with')}
    </span>
</%def>

<%def name="page_nav()">
    ${self.menu('admin')}
</%def>
<%def name="main()">
        <%include file="/index_base.html" args="parent=self,short_repo_names=True"/>
</%def>