diff --git a/pylons_app/public/css/monoblue_custom.css b/pylons_app/public/css/monoblue_custom.css --- a/pylons_app/public/css/monoblue_custom.css +++ b/pylons_app/public/css/monoblue_custom.css @@ -420,6 +420,13 @@ ul.submenu .permissions { padding-top: 0px; text-align: left; } +ul.submenu .settings { + background: url("/images/icons/cog.png") no-repeat scroll 3px; + height: 16px; + padding-left: 20px; + padding-top: 0px; + text-align: left; +} ul.submenu .current_submenu { border-bottom: 2px solid #556CB5; diff --git a/pylons_app/templates/admin/repos/repos.html b/pylons_app/templates/admin/repos/repos.html --- a/pylons_app/templates/admin/repos/repos.html +++ b/pylons_app/templates/admin/repos/repos.html @@ -24,7 +24,13 @@ %for cnt,repo in enumerate(c.repos_list): - ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} + + %if repo['repo'].dbrepo.private: + ${_('private')} + %else: + ${_('public')} + %endif + ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} r${repo['rev']}:${repo['tip']} ${h.form(url('repo', repo_name=repo['name']),method='delete')} diff --git a/pylons_app/templates/base/base.html b/pylons_app/templates/base/base.html --- a/pylons_app/templates/base/base.html +++ b/pylons_app/templates/base/base.html @@ -131,9 +131,10 @@ def is_current(selected): %if current != None:
%endif diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -32,8 +32,15 @@ %for cnt,repo in enumerate(c.repos_list): %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): + - ${h.link_to(repo['name'], + + %if repo['repo'].dbrepo.private: + ${_('private')} + %else: + ${_('public')} + %endif + ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']))} ${h.truncate(repo['description'],60)} ${h.age(repo['last_change'])}