Files
@ defcf245f3e9
Branch filter:
Location: kallithea/rhodecode/templates/branches/branches.html - annotation
defcf245f3e9
1.0 KiB
text/html
fixes #229 repo sorting is not working.
- implemented repo sorting using YUI dataTable
- implemented repo sorting using YUI dataTable
1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 a1ec653f5f95 1e757ac98988 1e757ac98988 1e757ac98988 713315371e03 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 713315371e03 713315371e03 713315371e03 713315371e03 713315371e03 713315371e03 713315371e03 713315371e03 713315371e03 1e757ac98988 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${c.repo_name} ${_('Branches')} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
<input class="q_filter_box" id="q_filter_branches" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
${h.link_to(u'Home',h.url('/'))}
»
${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
»
${_('branches')}
</%def>
<%def name="page_nav()">
${self.menu('branches')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
<div class="table">
<%include file='branches_data.html'/>
</div>
</div>
<script type="text/javascript">
var nodes = YUQ('div.table tr td .logtags .branchtag a');
var target = 'q_filter_branches';
var func = function(node){
return node.parentNode.parentNode.parentNode.parentNode;
}
q_filter(target,nodes,func);
</script>
</%def>
|