##// END OF EJS Templates
Added missing journal_data template
marcink -
r996:69e74493 beta
parent child Browse files
Show More
@@ -0,0 +1,50 b''
1 ## -*- coding: utf-8 -*-
2
3 %if c.journal_day_aggreagate:
4 %for day,items in c.journal_day_aggreagate:
5 <div class="journal_day">${day}</div>
6 % for entry in items:
7 <div style="padding:10px">
8 <div class="gravatar">
9 <img alt="gravatar" src="${h.gravatar_url(entry.user.email,24)}"/>
10 </div>
11 <div>${entry.user.name} ${entry.user.lastname}</div>
12 <div class="journal_action">${h.action_parser(entry)}</div>
13 <div class="journal_icon">${h.action_parser_icon(entry)}</div>
14 <div class="journal_repo">
15 <span class="journal_repo_name">
16 %if entry.repository:
17 ${h.link_to(entry.repository.repo_name,
18 h.url('summary_home',repo_name=entry.repository.repo_name))}
19 %else:
20 ${entry.repository_name}
21 %endif
22 </span> - <span title="${entry.action_date}">${h.age(entry.action_date)}</span>
23 </div>
24 </div>
25 <div style="clear:both;border-bottom:1px dashed #DDD;padding:3px 3px;margin:0px 10px 0px 10px"></div>
26 %endfor
27 %endfor
28
29 <div class="pagination-wh pagination-left">
30 <script type="text/javascript">
31 var data_div = 'journal';
32 YAHOO.util.Event.onDOMReady(function(){
33 YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){
34 YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');});});
35 </script>
36 ${c.journal_pager.pager('$link_previous ~2~ $link_next',
37 onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{
38 success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText;
39 show_more_event();
40 tooltip_activate();
41 YUE.on(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){
42 YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');});
43 YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")}
44 </div>
45
46 %else:
47 ${_('No entries yet')}
48 %endif
49
50 <script type="text/javascript">show_more_event();</script> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now