Mercurial > kallithea
annotate rhodecode/templates/journal/journal_data.html @ 3832:07f8039ef090 beta
Use repo-scann at latest possible state.
- we can ensure every config/checks were made before that step
- it should fix issues with custom GIT paths
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 09 May 2013 14:52:05 +0200 |
parents | 13241a4075e9 |
children | 48ad84558fb4 |
rev | line source |
---|---|
996
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 %if c.journal_day_aggreagate: |
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 %for day,items in c.journal_day_aggreagate: |
3775
371898dc9a91
fixed some issues with paginators on chrome, and made them look nicer
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
5 <div class="journal_day">${day}</div> |
1041
98be43b888c4
Updated new Journal with users and dates aggregates
Marcin Kuzminski <marcin@python-works.com>
parents:
997
diff
changeset
|
6 % for user,entries in items: |
3197 | 7 <div class="journal_container"> |
8 <div class="gravatar"> | |
9 <img alt="gravatar" src="${h.gravatar_url(user.email if user else 'anonymous@rhodecode.org',24)}"/> | |
10 </div> | |
3068
44827c84dc66
added handling of deleted users in journal data
Marcin Kuzminski <marcin@python-works.com>
parents:
2971
diff
changeset
|
11 %if user: |
3197 | 12 <div class="journal_user">${user.name} ${user.lastname}</div> |
3068
44827c84dc66
added handling of deleted users in journal data
Marcin Kuzminski <marcin@python-works.com>
parents:
2971
diff
changeset
|
13 %else: |
44827c84dc66
added handling of deleted users in journal data
Marcin Kuzminski <marcin@python-works.com>
parents:
2971
diff
changeset
|
14 <div class="journal_user deleted">${entries[0].username}</div> |
44827c84dc66
added handling of deleted users in journal data
Marcin Kuzminski <marcin@python-works.com>
parents:
2971
diff
changeset
|
15 %endif |
3197 | 16 <div class="journal_action_container"> |
17 % for entry in entries: | |
18 <div class="journal_icon"> ${h.action_parser(entry)[2]()}</div> | |
19 <div class="journal_action">${h.action_parser(entry)[0]()}</div> | |
20 <div class="journal_repo"> | |
21 <span class="journal_repo_name"> | |
22 %if entry.repository is not None: | |
23 ${h.link_to(entry.repository.repo_name, | |
24 h.url('summary_home',repo_name=entry.repository.repo_name))} | |
25 %else: | |
26 ${entry.repository_name} | |
27 %endif | |
28 </span> | |
29 </div> | |
30 <div class="journal_action_params">${h.literal(h.action_parser(entry)[1]())}</div> | |
31 <div class="date"><span class="tooltip" title="${h.tooltip(h.fmt_date(entry.action_date))}">${h.age(entry.action_date)}</span></div> | |
32 %endfor | |
33 </div> | |
34 </div> | |
996
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
35 %endfor |
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 %endfor |
3776
13241a4075e9
Unified the paginators for pylons and YUI.
Marcin Kuzminski <marcin@python-works.com>
parents:
3775
diff
changeset
|
37 |
3775
371898dc9a91
fixed some issues with paginators on chrome, and made them look nicer
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
38 <div class="pagination-wh pagination-left" style="padding: 0px 0px 0px 10px;"> |
3776
13241a4075e9
Unified the paginators for pylons and YUI.
Marcin Kuzminski <marcin@python-works.com>
parents:
3775
diff
changeset
|
39 ${c.journal_pager.pager('$link_previous ~2~ $link_next')} |
3775
371898dc9a91
fixed some issues with paginators on chrome, and made them look nicer
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
40 </div> |
1746
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
41 <script type="text/javascript"> |
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
42 YUE.onDOMReady(function(){ |
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
43 YUE.delegate("journal","click",function(e, matchedEl, container){ |
3197 | 44 ypjax(e.target.href,"journal",function(){ |
45 show_more_event(); | |
46 tooltip_activate(); | |
47 show_changeset_tooltip(); | |
48 }); | |
1746
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
49 YUE.preventDefault(e); |
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
50 },'.pager_link'); |
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
51 }); |
3776
13241a4075e9
Unified the paginators for pylons and YUI.
Marcin Kuzminski <marcin@python-works.com>
parents:
3775
diff
changeset
|
52 </script> |
996
69e744932d22
Added missing journal_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
53 %else: |
1746
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
54 <div style="padding:5px 0px 10px 10px;"> |
753aeb4a5c58
Journal refresh button
Marcin Kuzminski <marcin@python-works.com>
parents:
1421
diff
changeset
|
55 ${_('No entries yet')} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1746
diff
changeset
|
56 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1746
diff
changeset
|
57 %endif |