Files @ 17556a81ec6f
Branch filter:

Location: kallithea/rhodecode/templates/index.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').
1
2
3
4
5
6
7
8
## -*- coding: utf-8 -*-
<%inherit file="base/base.html"/>
<%def name="title()">${_('Dashboard')} - ${c.rhodecode_name}</%def>
<%def name="breadcrumbs()"></%def>
<%def name="page_nav()">${self.menu('home')}</%def>
<%def name="main()">
   <%include file="index_base.html" args="parent=self"/>
</%def>