@@ -92,13 +94,20 @@
%for repo in c.user_repos:
+ %if repo.dbrepo.repo_type =='hg':
+
+ %elif repo.dbrepo.repo_type =='git':
+
+ %else:
+
+ %endif
%if repo.dbrepo.private:
%else:
%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:
| ${_('revision')}: ${h.get_changeset_safe(repo,'tip').revision} |
- ${_('last changed')}: ${h.age(repo.last_change)} |
+ ${_('last changed')}: ${h.age(repo.last_change)} |
${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 @@
+
%def>
\ 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':
%elif repo['repo'].dbrepo.repo_type =='git':
@@ -65,11 +66,14 @@
%endif
+ ##PRIVATE/PUBLIC
%if repo['repo'].dbrepo.private:
%else:
- %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:
|