##// 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 6 <tr>
7 7 <th>${_('Username')}</th>
8 8 <th>${_('Action')}</th>
9 <th>${_('Action Data')}</th>
9 10 <th>${_('Repository')}</th>
10 11 <th>${_('Date')}</th>
11 <th>${_('From IP')}</th>
12 <th>${_('IP')}</th>
12 13 </tr>
13 14
14 15 %for cnt,l in enumerate(c.users_log):
@@ -20,11 +21,24 b''
20 21 ${l.username}
21 22 %endif
22 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 31 <div class="journal_action_params">
32 % if l.version == l.VERSION_1:
25 33 ${h.literal(h.action_parser(l)[1]())}
34 % endif
26 35 </div>
27 36 </td>
37 <td>
38 % if l.version == l.VERSION_2:
39 ${l.action_data}
40 % endif
41 </td>
28 42 <td class="td-componentname">
29 43 %if l.repository is not None:
30 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