Mercurial > kallithea
annotate rhodecode/templates/shortlog/shortlog_data.html @ 642:674ecf21de85 beta
docs update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 02 Nov 2010 22:24:55 +0100 |
parents | ffd07396d315 |
children | 6d37fe113da0 |
rev | line source |
---|---|
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
280
diff
changeset
|
2 % if c.repo_changesets: |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
3 <table> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
4 <tr> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
5 <th class="left">${_('date')}</th> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
6 <th class="left">${_('commit message')}</th> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
7 <th class="left">${_('author')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
8 <th class="left">${_('revision')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
9 <th class="left">${_('branch')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
10 <th class="left">${_('tags')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
11 <th class="left">${_('links')}</th> |
279
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
12 |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
13 </tr> |
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
14 %for cnt,cs in enumerate(c.repo_changesets): |
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
15 <tr class="parity${cnt%2}"> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
16 <td>${cs.date} - ${h.age(cs.date)}</td> |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
17 <td> |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
18 ${h.link_to(h.truncate(cs.message,60), |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
19 h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id), |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
20 title=cs.message)} |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
21 </td> |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
280
diff
changeset
|
22 <td title="${cs.author}">${h.person(cs.author)}</td> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
23 <td>r${cs.revision}:${h.short_id(cs.raw_id)}</td> |
141
c29197bd2907
fixed listings, of commits, added slugs for longer commits messages
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
24 <td> |
280
373ddb868bd6
html updates,mostly tables
Marcin Kuzminski <marcin@python-works.com>
parents:
279
diff
changeset
|
25 <span class="logtags"> |
373ddb868bd6
html updates,mostly tables
Marcin Kuzminski <marcin@python-works.com>
parents:
279
diff
changeset
|
26 <span class="branchtag">${cs.branch}</span> |
373ddb868bd6
html updates,mostly tables
Marcin Kuzminski <marcin@python-works.com>
parents:
279
diff
changeset
|
27 </span> |
110
ad2500720b02
added images updated htl added tags,branches display
Marcin Kuzminski <marcin@python-works.com>
parents:
105
diff
changeset
|
28 </td> |
279
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
29 <td> |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
30 <span class="logtags"> |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
31 %for tag in cs.tags: |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
32 <span class="tagtag">${tag}</span> |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
33 %endfor |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
34 </span> |
ba0523f440d2
#2: proposed changes to shortlog added header table description
Marcin Kuzminski <marcin@python-works.com>
parents:
277
diff
changeset
|
35 </td> |
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
36 <td class="nowrap"> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
37 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
38 | |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
635
diff
changeset
|
39 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} |
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
40 </td> |
509
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
494
diff
changeset
|
41 </tr> |
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
42 %endfor |
105
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
84
diff
changeset
|
43 |
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
84
diff
changeset
|
44 </table> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
45 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
46 <script type="text/javascript"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
47 var data_div = 'shortlog_data'; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
48 YAHOO.util.Event.onDOMReady(function(){ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
49 YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
50 YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});}); |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
51 </script> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
52 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
53 <div class="pagination-wh pagination-left"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
54 ${c.repo_changesets.pager('$link_previous ~2~ $link_next', |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
55 onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
56 success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
57 YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
58 YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
59 YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
60 </div> |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
280
diff
changeset
|
61 %else: |
509
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
494
diff
changeset
|
62 ${_('There are no changes yet')} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
63 %endif |