Mercurial > kallithea
annotate rhodecode/templates/admin/admin_log.html @ 4116:ffd45b185016 rhodecode-2.2.5-gpl
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
This imports changes between changesets 21af6c4eab3d and 6177597791c2 in
RhodeCode's original repository, including only changes to Python files and HTML.
RhodeCode clearly licensed its changes to these files under GPLv3
in their /LICENSE file, which states the following:
The Python code and integrated HTML are licensed under the GPLv3 license.
(See:
https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE
or
http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE
for an online copy of that LICENSE file)
Conservancy reviewed these changes and confirmed that they can be licensed as
a whole to the Kallithea project under GPLv3-only.
While some of the contents committed herein are clearly licensed
GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the
statement above from RhodeCode indicates that they intend GPLv3-only as their
license, per GPLv3ยง14 and other relevant sections of GPLv3.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:03:13 -0400 |
parents | c20adbaf16af |
children |
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> |
3197 | 4 <tr> |
5 <th class="left">${_('Username')}</th> | |
6 <th class="left">${_('Action')}</th> | |
7 <th class="left">${_('Repository')}</th> | |
8 <th class="left">${_('Date')}</th> | |
9 <th class="left">${_('From IP')}</th> | |
10 </tr> | |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
11 |
3197 | 12 %for cnt,l in enumerate(c.users_log): |
13 <tr class="parity${cnt%2}"> | |
14 <td> | |
3063
ca2b21819dfd
Implemented better support for Wildcard queries
Marcin Kuzminski <marcin@python-works.com>
parents:
2979
diff
changeset
|
15 %if l.user is not None: |
ca2b21819dfd
Implemented better support for Wildcard queries
Marcin Kuzminski <marcin@python-works.com>
parents:
2979
diff
changeset
|
16 ${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))} |
ca2b21819dfd
Implemented better support for Wildcard queries
Marcin Kuzminski <marcin@python-works.com>
parents:
2979
diff
changeset
|
17 %else: |
ca2b21819dfd
Implemented better support for Wildcard queries
Marcin Kuzminski <marcin@python-works.com>
parents:
2979
diff
changeset
|
18 ${l.username} |
3149
68f9c216377d
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
3069
diff
changeset
|
19 %endif |
3063
ca2b21819dfd
Implemented better support for Wildcard queries
Marcin Kuzminski <marcin@python-works.com>
parents:
2979
diff
changeset
|
20 </td> |
3197 | 21 <td>${h.action_parser(l)[0]()} |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
22 <div class="journal_action_params"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
23 ${h.literal(h.action_parser(l)[1]())} |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
24 </div> |
3197 | 25 </td> |
26 <td> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
27 %if l.repository is not None: |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
28 ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))} |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
29 %else: |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
30 ${l.repository_name} |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
31 %endif |
3197 | 32 </td> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
33 |
3197 | 34 <td>${h.fmt_date(l.action_date)}</td> |
35 <td>${l.user_ip}</td> | |
36 </tr> | |
37 %endfor | |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
38 </table> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
39 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
40 <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
|
41 YUE.onDOMReady(function(){ |
3069
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
42 YUE.delegate("user_log","click",function(e, matchedEl, container){ |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
43 ypjax(e.target.href,"user_log",function(){ |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
44 show_more_event(); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
45 tooltip_activate(); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
46 show_changeset_tooltip(); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
47 }); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
48 YUE.preventDefault(e); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
49 },'.pager_link'); |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
50 |
3069
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
51 YUE.delegate("user_log","click",function(e,matchedEl,container){ |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
52 var el = e.target; |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
53 YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
54 YUD.setStyle(el.parentNode,'display','none'); |
9dca99ffd495
added help on how to filter the journal
Marcin Kuzminski <marcin@python-works.com>
parents:
3063
diff
changeset
|
55 },'.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
|
56 }); |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
57 </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
|
58 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
59 <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
|
60 ${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
|
61 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
62 %else: |
3197 | 63 ${_('No actions yet')} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
64 %endif |