comparison rhodecode/templates/journal/journal_data.html @ 1052:c96651aebd8a beta

fixed journal look & feel
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 15 Feb 2011 19:45:15 +0100
parents 3fc9183e05dd
children c6b811f11c94
comparison
equal deleted inserted replaced
1051:90eadff2c2a8 1052:c96651aebd8a
2 2
3 %if c.journal_day_aggreagate: 3 %if c.journal_day_aggreagate:
4 %for day,items in c.journal_day_aggreagate: 4 %for day,items in c.journal_day_aggreagate:
5 <div class="journal_day">${day}</div> 5 <div class="journal_day">${day}</div>
6 % for user,entries in items: 6 % for user,entries in items:
7 <div style="padding:10px"> 7 <div class="journal_container">
8 <div class="gravatar"> 8 <div class="gravatar">
9 <img alt="gravatar" src="${h.gravatar_url(user.email,24)}"/> 9 <img alt="gravatar" src="${h.gravatar_url(user.email,24)}"/>
10 </div> 10 </div>
11 <div class="journal_user">${user.name} ${user.lastname}</div> 11 <div class="journal_user">${user.name} ${user.lastname}</div>
12 % for entry in entries: 12 <div class="journal_action_container">
13 <div class="journal_icon"> ${h.action_parser_icon(entry)}</div> 13 % for entry in entries:
14 <div class="journal_action">${h.action_parser(entry)}</div> 14 <div class="journal_icon"> ${h.action_parser_icon(entry)}</div>
15 <div class="journal_repo"> 15 <div class="journal_action">${h.action_parser(entry)[0]}</div>
16 <span class="journal_repo_name"> 16 <div class="journal_repo">
17 %if entry.repository is not None: 17 <span class="journal_repo_name">
18 ${h.link_to(entry.repository.repo_name, 18 %if entry.repository is not None:
19 h.url('summary_home',repo_name=entry.repository.repo_name))} 19 ${h.link_to(entry.repository.repo_name,
20 %else: 20 h.url('summary_home',repo_name=entry.repository.repo_name))}
21 ${entry.repository_name} 21 %else:
22 %endif 22 ${entry.repository_name}
23 </span> 23 %endif
24 </div> 24 </span>
25 <div class="date"><span class="tooltip" title="${entry.action_date}">${h.age(entry.action_date)}</span></div> 25 </div>
26 %endfor 26 <div class="journal_action_params">${h.literal(h.action_parser(entry)[1]())}</div>
27 </div> 27 <div class="date"><span class="tooltip" title="${entry.action_date}">${h.age(entry.action_date)}</span></div>
28 <div style="clear:both;border-bottom:1px dashed #DDD;padding:3px 3px;margin:0px 10px 0px 10px"></div> 28 %endfor
29 </div>
30 </div>
29 %endfor 31 %endfor
30 %endfor 32 %endfor
31 33
32 <div class="pagination-wh pagination-left"> 34 <div class="pagination-wh pagination-left">
33 <script type="text/javascript"> 35 <script type="text/javascript">