##// END OF EJS Templates
html update
html update

File last commit:

r84:00b17b3a default
r84:00b17b3a default
Show More
shortlog_data.html
31 lines | 1.2 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%!
from pylons_app.lib import filters
%>
<table>
%for cnt,cs in enumerate(c.repo_changesets):
<tr class="parity${cnt%2}">
<td>${cs._ctx.date()|n,filters.age}</td>
<td title="${cs.author}">${cs.author|n,filters.person}</td>
<td>${h.link_to(cs.message,h.url('rev/'+str(cs._ctx)))}</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('file/'+str(cs._ctx)))}
|
${h.link_to(_('files'),h.url('file/'+str(cs._ctx)))}
</td>
</tr>
%endfor
<tr>
<script type="text/javascript">
var data_div = 'shortlog_data';
YAHOO.util.Event.onDOMReady(function(){
YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){
YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});});
</script>
<td colspan=3>${c.repo_changesets.pager('$link_previous ~2~ $link_next',
onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{
success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText;
YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){
YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');});
YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")}</td>
</tr>
</table>