Mercurial > kallithea
comparison pylons_app/templates/admin/admin_log.html @ 503:3d6d548ad3cc
Added user action mapper to map push to changeset.
made exception in simplehg python 2.5 ready
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 24 Sep 2010 18:13:29 +0200 |
parents | 8ba65e4c4e4c |
children | 39203995f2c4 |
comparison
equal
deleted
inserted
replaced
502:ac32a026c306 | 503:3d6d548ad3cc |
---|---|
11 | 11 |
12 %for cnt,l in enumerate(c.users_log): | 12 %for cnt,l in enumerate(c.users_log): |
13 <tr class="parity${cnt%2}"> | 13 <tr class="parity${cnt%2}"> |
14 <td>${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))}</td> | 14 <td>${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))}</td> |
15 <td>${h.link_to(l.repository,h.url('summary_home',repo_name=l.repository))}</td> | 15 <td>${h.link_to(l.repository,h.url('summary_home',repo_name=l.repository))}</td> |
16 <td>${l.action}</td> | 16 <td> |
17 % if l.action == 'push' and l.revision: | |
18 ${h.link_to('%s - %s' % (l.action,l.revision), | |
19 h.url('changeset_home',repo_name=l.repository,revision=l.revision))} | |
20 %else: | |
21 ${l.action} | |
22 %endif | |
23 </td> | |
17 <td>${l.action_date}</td> | 24 <td>${l.action_date}</td> |
18 <td>${l.user_ip}</td> | 25 <td>${l.user_ip}</td> |
19 </tr> | 26 </tr> |
20 %endfor | 27 %endfor |
21 </table> | 28 </table> |