Files
@ 8ecc6b8229a5
Branch filter:
Location: kallithea/rhodecode/templates/branches/branches.html - annotation
8ecc6b8229a5
1.0 KiB
text/html
commit less models
- models don't do any commits(with few exceptions)
- all db transactions should be handled by higher level modules like controllers, celery tasks
- models don't do any commits(with few exceptions)
- all db transactions should be handled by higher level modules like controllers, celery tasks
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>
|