##// END OF EJS Templates
fixed following js snipet. It' can be called multiple times now next to each repository...
fixed following js snipet. It' can be called multiple times now next to each repository added helper method for checking if user is following repository

File last commit:

r888:6b40654a beta
r999:1951c354 beta
Show More
repo_add_create_repository.html
65 lines | 2.0 KiB | text/html | HtmlLexer
/ rhodecode / templates / admin / repos / repo_add_create_repository.html
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Add repository')} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${_('add new repository')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
${h.form(url('repos'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="repo_name">${_('Name')}:</label>
</div>
<div class="input">
${h.text('repo_name',c.new_repo,class_="small")}
${h.hidden('user_created','True')}
</div>
</div>
<div class="field">
<div class="label">
<label for="repo_type">${_('Type')}:</label>
</div>
<div class="input">
${h.select('repo_type','hg',c.backends,class_="small")}
</div>
</div>
<div class="field">
<div class="label label-textarea">
<label for="description">${_('Description')}:</label>
</div>
<div class="textarea text-area editor">
${h.textarea('description',cols=23,rows=5)}
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="private">${_('Private')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('private',value="True")}
</div>
</div>
<div class="buttons">
${h.submit('add','add',class_="ui-button")}
</div>
</div>
</div>
${h.end_form()}
</div>
</%def>