##// END OF EJS Templates
rhodecode.js: make YUI_datatable 25 rows configurable as last param
rhodecode.js: make YUI_datatable 25 rows configurable as last param

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4164:197bfc8a rhodecode-2.2.5-gpl
Show More
repo_edit_fork.html
21 lines | 653 B | text/html | HtmlLexer
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${h.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.repos_list,class_="medium")}
${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small",)}
</div>
<div class="field" style="border:none;color:#888">
<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({
'dropdownAutoWidth': true,
});
})
</script>