##// END OF EJS Templates
comments: use unified aggregation of comments counters....
comments: use unified aggregation of comments counters. - use 1 source of count and display objects - scroll to for hidden comments will show them before scroll - properly show how many comments we're displaying for each version

File last commit:

r1282:90601d74 default
r1332:f4e615fc default
Show More
repo_edit_fork.mako
23 lines | 729 B | application/x-mako | MakoHtmlLexer
${h.secure_form(url('repo_as_fork', repo_name=c.repo_info.repo_name),method='put')}
<div class="form">
<div class="fields">
${h.select('id_fork_of','',c.repo_list,class_="medium")}
${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small",)}
</div>
<div class="field" >
<ul>
<li>${_('''Manually set this repository as a fork of another from the list''')}</li>
</ul>
</div>
</div>
${h.end_form()}
<script>
$(document).ready(function(){
$("#id_fork_of").select2({
'containerCssClass': "drop-menu",
'dropdownCssClass': "drop-menu-dropdown",
'dropdownAutoWidth': true,
});
})
</script>