diff --git a/pylons_app/templates/shortlog_data.html b/pylons_app/templates/shortlog_data.html new file mode 100644 --- /dev/null +++ b/pylons_app/templates/shortlog_data.html @@ -0,0 +1,32 @@ +## -*- coding: utf-8 -*- +<%! +from pylons_app.lib import filters +%> +
| ${cs._ctx.date()|n,filters.age} | +${cs.author|n,filters.person} | +${h.link_to(cs.message,h.url('rev/'+str(cs._ctx)))} | ++ ${h.link_to(_('changeset'),h.url('file/'+str(cs._ctx)))} + | + ${h.link_to(_('files'),h.url('file/'+str(cs._ctx)))} + | +
| ${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;""")} | +