comparison pylons_app/templates/changelog/changelog.html @ 526:804a14e086dc

added tags/branches icons in changelog and moved them to right to save some space
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 30 Sep 2010 10:31:37 +0200
parents d945c95ba4ac
children 6d44d3862ec4
comparison
equal deleted inserted replaced
525:87d80c84df09 526:804a14e086dc
45 </div> 45 </div>
46 %for cnt,cs in enumerate(c.pagination): 46 %for cnt,cs in enumerate(c.pagination):
47 <div id="chg_${cnt+1}" class="container"> 47 <div id="chg_${cnt+1}" class="container">
48 <div class="left"> 48 <div class="left">
49 <div class="date">${_('commit')} ${cs.revision}: ${cs.short_id}@${cs.date}</div> 49 <div class="date">${_('commit')} ${cs.revision}: ${cs.short_id}@${cs.date}</div>
50 <span class="logtags">
51 <span class="branchtag">${cs.branch}</span>
52 %for tag in cs.tags:
53 <span class="tagtag">${tag}</span>
54 %endfor
55 </span>
56 <div class="author"> 50 <div class="author">
57 <div class="gravatar"> 51 <div class="gravatar">
58 <img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),20)}"/> 52 <img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),20)}"/>
59 </div> 53 </div>
60 <span>${h.person(cs.author)}</span><br/> 54 <span>${h.person(cs.author)}</span><br/>
78 %endif 72 %endif
79 %for p_cs in reversed(cs.parents): 73 %for p_cs in reversed(cs.parents):
80 <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.short_id, 74 <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.short_id,
81 h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.short_id),title=p_cs.message)} 75 h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.short_id),title=p_cs.message)}
82 </div> 76 </div>
83 %endfor 77 %endfor
78 <span class="logtags">
79 <span class="branchtag">${cs.branch}</span>
80 %for tag in cs.tags:
81 <span class="tagtag">${tag}</span>
82 %endfor
83 </span>
84 </div> 84 </div>
85 </div> 85 </div>
86 86
87 %endfor 87 %endfor
88 <div class="pagination-wh pagination-left"> 88 <div class="pagination-wh pagination-left">