diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html --- a/rhodecode/templates/admin/users/user_edit_my_account.html +++ b/rhodecode/templates/admin/users/user_edit_my_account.html @@ -82,7 +82,9 @@
-
${_('My repositories')}
+
${_('My repositories')} + +
@@ -92,13 +94,20 @@ %for repo in c.user_repos: + %if repo.dbrepo.repo_type =='hg': + ${_('Mercurial repository')} + %elif repo.dbrepo.repo_type =='git': + ${_('Git repository')} + %else: + + %endif %if repo.dbrepo.private: ${_('private')} %else: ${_('public')} %endif - ${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name))} + ${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name),class_="repo_name")} %if repo.dbrepo.fork: ${_('public')} ${_('revision')}: ${h.get_changeset_safe(repo,'tip').revision} - ${_('last changed')}: ${h.age(repo.last_change)} + ${_('last changed')}: ${h.age(repo.last_change)} ${_('private')} ${h.link_to(_('edit'),h.url('repo_settings_home',repo_name=repo.name))} ${h.form(url('repo_settings_delete', repo_name=repo.name),method='delete')} @@ -127,4 +136,48 @@
+ \ No newline at end of file diff --git a/rhodecode/templates/index.html b/rhodecode/templates/index.html --- a/rhodecode/templates/index.html +++ b/rhodecode/templates/index.html @@ -57,6 +57,7 @@ %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): + ## TYPE OF REPO %if repo['repo'].dbrepo.repo_type =='hg': ${_('Mercurial repository')} %elif repo['repo'].dbrepo.repo_type =='git': @@ -65,11 +66,14 @@ %endif + ##PRIVATE/PUBLIC %if repo['repo'].dbrepo.private: ${_('private repository')} %else: ${_('public repository')} - %endif + %endif + + ##NAME ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")} %if repo['repo'].dbrepo.fork: @@ -79,11 +83,13 @@ src="/images/icons/arrow_divide.png"/> %endif + ##DESCRIPTION ${h.truncate(repo['description'],60)} - - ${h.age(repo['last_change'])} + ##LAST CHANGE + + ${repo['last_change']} - ${h.age(repo['last_change'])} %if repo['rev']>=0: