Mercurial > kallithea
annotate rhodecode/templates/admin/admin_log.html @ 2883:b1822f4a85ca beta
Show that all reviewers reviewed pull request
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 29 Sep 2012 23:00:21 +0200 |
parents | 44f328d6f209 |
children | 95f03f8f5f9a |
rev | line source |
---|---|
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
79
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
2 %if c.users_log: |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
3 <table> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
4 <tr> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
5 <th class="left">${_('Username')}</th> |
660
df61378032f3
#48 rewrote action logger, translated action logger messages, added some extra messages. Linked and showed pushed revisions in logs
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
6 <th class="left">${_('Action')}</th> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
7 <th class="left">${_('Repository')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
8 <th class="left">${_('Date')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
9 <th class="left">${_('From IP')}</th> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
10 </tr> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
11 |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
12 %for cnt,l in enumerate(c.users_log): |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
13 <tr class="parity${cnt%2}"> |
476
8ba65e4c4e4c
added journal icon and made active links in journal, fixed edit user bug when given wrong id
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
14 <td>${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))}</td> |
2375
bc2d8c03c050
Implemented #467 Journal logs comments on changesets
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
15 <td>${h.action_parser(l)[0]()} |
1066
fd9cc2a32955
fixed admin journal
Marcin Kuzminski <marcin@python-works.com>
parents:
997
diff
changeset
|
16 <div class="journal_action_params"> |
2379
7ac09514a178
created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents:
2376
diff
changeset
|
17 ${h.literal(h.action_parser(l)[1]())} |
2376
679363531571
Updated Journal messages + i18n
Marcin Kuzminski <marcin@python-works.com>
parents:
2375
diff
changeset
|
18 </div> |
1066
fd9cc2a32955
fixed admin journal
Marcin Kuzminski <marcin@python-works.com>
parents:
997
diff
changeset
|
19 </td> |
537
48be953851fc
extended user logs to create/delete/fork repositories for auditing
Marcin Kuzminski <marcin@python-works.com>
parents:
536
diff
changeset
|
20 <td> |
2376
679363531571
Updated Journal messages + i18n
Marcin Kuzminski <marcin@python-works.com>
parents:
2375
diff
changeset
|
21 %if l.repository is not None: |
537
48be953851fc
extended user logs to create/delete/fork repositories for auditing
Marcin Kuzminski <marcin@python-works.com>
parents:
536
diff
changeset
|
22 ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))} |
48be953851fc
extended user logs to create/delete/fork repositories for auditing
Marcin Kuzminski <marcin@python-works.com>
parents:
536
diff
changeset
|
23 %else: |
48be953851fc
extended user logs to create/delete/fork repositories for auditing
Marcin Kuzminski <marcin@python-works.com>
parents:
536
diff
changeset
|
24 ${l.repository_name} |
48be953851fc
extended user logs to create/delete/fork repositories for auditing
Marcin Kuzminski <marcin@python-works.com>
parents:
536
diff
changeset
|
25 %endif |
48be953851fc
extended user logs to create/delete/fork repositories for auditing
Marcin Kuzminski <marcin@python-works.com>
parents:
536
diff
changeset
|
26 </td> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
27 |
2416
44f328d6f209
Added a translatable date formatter for every date displayed.
Vincent Duvert <vincent@duvert.net>
parents:
2379
diff
changeset
|
28 <td>${h.fmt_date(l.action_date)}</td> |
331
a9a6c74ad2a6
added ip loggin into mercurial middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
29 <td>${l.user_ip}</td> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
30 </tr> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
31 %endfor |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
32 </table> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
33 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
34 <script type="text/javascript"> |
808
1af15d66838f
added icons to journal, extend show more to actually show more pushed revisions,
Marcin Kuzminski <marcin@python-works.com>
parents:
660
diff
changeset
|
35 YUE.onDOMReady(function(){ |
1421
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
36 YUE.delegate("user_log","click",function(e, matchedEl, container){ |
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
37 ypjax(e.target.href,"user_log",function(){show_more_event();tooltip_activate();}); |
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
38 YUE.preventDefault(e); |
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
39 },'.pager_link'); |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
40 |
1421
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
41 YUE.delegate("user_log","click",function(e,matchedEl,container){ |
808
1af15d66838f
added icons to journal, extend show more to actually show more pushed revisions,
Marcin Kuzminski <marcin@python-works.com>
parents:
660
diff
changeset
|
42 var el = e.target; |
1af15d66838f
added icons to journal, extend show more to actually show more pushed revisions,
Marcin Kuzminski <marcin@python-works.com>
parents:
660
diff
changeset
|
43 YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); |
1af15d66838f
added icons to journal, extend show more to actually show more pushed revisions,
Marcin Kuzminski <marcin@python-works.com>
parents:
660
diff
changeset
|
44 YUD.setStyle(el.parentNode,'display','none'); |
1421
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
45 },'.show_more'); |
808
1af15d66838f
added icons to journal, extend show more to actually show more pushed revisions,
Marcin Kuzminski <marcin@python-works.com>
parents:
660
diff
changeset
|
46 }); |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
47 </script> |
1421
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
48 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
49 <div class="pagination-wh pagination-left"> |
1421
c6b811f11c94
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents:
1066
diff
changeset
|
50 ${c.users_log.pager('$link_previous ~2~ $link_next')} |
105
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
51 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
52 %else: |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
53 ${_('No actions yet')} |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
54 %endif |