##// END OF EJS Templates
extended admin rescan to show what repositories was added and what removed...
extended admin rescan to show what repositories was added and what removed fixed found bugs, added expunge to cached getter since it introduce some more problems. Added some relationship to properly clean related objects from database.

File last commit:

r888:6b40654a beta
r1039:51b70569 beta
Show More
repo_add.html
68 lines | 2.1 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Add repository')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Repositories'),h.url('repos'))}
&raquo;
${_('add new')}
</%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">
extended size of some input fields...
r562 ${h.text('repo_name',c.new_repo,class_="small")}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
extended repo creation by repo type. fixed fork creation to maintain repo type.
r659 <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">
renamed project to rhodecode
r547 <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">
css optimizations
r888 ${h.submit('add','add',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
</div>
</%def>