Mercurial > kallithea
diff pylons_app/templates/admin.html @ 79:9fe23fdab9e9
Implemented AJAH paging
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Sat, 17 Apr 2010 19:59:06 +0200 |
parents | 6f524697f79d |
children | 68e574905860 |
line wrap: on
line diff
--- a/pylons_app/templates/admin.html Sat Apr 17 19:07:29 2010 +0200 +++ b/pylons_app/templates/admin.html Sat Apr 17 19:59:06 2010 +0200 @@ -34,31 +34,9 @@ <br/> <div> <h2>Welcome ${c.admin_username}</h2> - <div>${_('Last 10 user actions')}</div> - %if c.users_log: - <table> - <tr> - <td>${_('Username')}</td> - <td>${_('Repository')}</td> - <td>${_('Action')}</td> - <td>${_('Date')}</td> - </tr> - %for cnt,l in enumerate(c.users_log): - <tr class="parity${cnt%2}"> - <td>${l.user.username}</td> - <td>${l.repository}</td> - <td>${l.action}</td> - <td>${l.action_date}</td> - </tr> - %endfor - <tr> - <td>${c.users_log.pager('$link_previous ~2~ $link_next')}</td> - </tr> - </table> - %else: - ${_('No actions yet')} - %endif - + <div id="user_log"> + ${c.log_data} + </div> </div> %else: <div>