Mercurial > kallithea
changeset 240:7c4fa2a66195
small fixes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 30 May 2010 21:30:09 +0200 |
parents | b18f89d6d17f |
children | 48727add84c9 |
files | pylons_app/lib/db_manage.py pylons_app/templates/summary/summary.html |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/lib/db_manage.py Sun May 30 19:49:40 2010 +0200 +++ b/pylons_app/lib/db_manage.py Sun May 30 21:30:09 2010 +0200 @@ -68,7 +68,8 @@ raise def create_permissions(self): - perms = [('can_view_admin_users', 'Access to admin user view'), + #module.(access|create|change|delete)_[name] + perms = [('admin.access_home', 'Access to admin user view'), ]
--- a/pylons_app/templates/summary/summary.html Sun May 30 19:49:40 2010 +0200 +++ b/pylons_app/templates/summary/summary.html Sun May 30 21:30:09 2010 +0200 @@ -43,7 +43,7 @@ <dt>${_('last change')}</dt> <dd>${c.repo_info.last_change|n,filters.age} - ${c.repo_info.last_change|n,filters.rfc822date}</dd> <dt>${_('clone url')}</dt> - <dd><input type="text" id="clone_url" readonly="readonly" value="hg clone ${c.clone_repo_url}" size="40"/></dd> + <dd><input type="text" id="clone_url" readonly="readonly" value="hg clone ${c.clone_repo_url}" size="70"/></dd> <dt>${_('download')}</dt> <dd> %for cnt,archive in enumerate(c.repo_info._get_archives()):