diff --git a/rhodecode/templates/index.html b/rhodecode/templates/index.html --- a/rhodecode/templates/index.html +++ b/rhodecode/templates/index.html @@ -55,6 +55,14 @@ %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): + %if repo['repo'].dbrepo.repo_type =='hg': + ${_('Mercurial repository')} + %elif repo['repo'].dbrepo.repo_type =='git': + ${_('Git repository')} + %else: + + %endif + %if repo['repo'].dbrepo.private: ${_('private')} %else: @@ -70,7 +78,8 @@ %endif ${h.truncate(repo['description'],60)} - ${h.age(repo['last_change'])} + + ${h.age(repo['last_change'])} %if repo['rev']>=0: ${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),