##// END OF EJS Templates
audit-journal: support v2 api to browse audit events.
marcink -
r1695:afa71a5d default
parent child Browse files
Show More
@@ -6,9 +6,10 b''
6 <tr>
6 <tr>
7 <th>${_('Username')}</th>
7 <th>${_('Username')}</th>
8 <th>${_('Action')}</th>
8 <th>${_('Action')}</th>
9 <th>${_('Action Data')}</th>
9 <th>${_('Repository')}</th>
10 <th>${_('Repository')}</th>
10 <th>${_('Date')}</th>
11 <th>${_('Date')}</th>
11 <th>${_('From IP')}</th>
12 <th>${_('IP')}</th>
12 </tr>
13 </tr>
13
14
14 %for cnt,l in enumerate(c.users_log):
15 %for cnt,l in enumerate(c.users_log):
@@ -20,11 +21,24 b''
20 ${l.username}
21 ${l.username}
21 %endif
22 %endif
22 </td>
23 </td>
23 <td class="td-journalaction">${h.action_parser(l)[0]()}
24 <td class="td-journalaction">
25 % if l.version == l.VERSION_1:
26 ${h.action_parser(l)[0]()}
27 % else:
28 ${h.literal(l.action)}
29 % endif
30
24 <div class="journal_action_params">
31 <div class="journal_action_params">
32 % if l.version == l.VERSION_1:
25 ${h.literal(h.action_parser(l)[1]())}
33 ${h.literal(h.action_parser(l)[1]())}
34 % endif
26 </div>
35 </div>
27 </td>
36 </td>
37 <td>
38 % if l.version == l.VERSION_2:
39 ${l.action_data}
40 % endif
41 </td>
28 <td class="td-componentname">
42 <td class="td-componentname">
29 %if l.repository is not None:
43 %if l.repository is not None:
30 ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))}
44 ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))}
General Comments 0
You need to be logged in to leave comments. Login now