##// END OF EJS Templates
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup,...
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup, this way rhodecode could handle displaying non utf8 encoded file paths. This is still an invalid path, but this way we could at least show those paths without errors

File last commit:

r888:6b40654a beta
r1100:e7d7f052 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
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()">
${_('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">
extended size of some input fields...
r562 ${h.text('repo_name',c.new_repo,class_="small")}
renamed project to rhodecode
r547 ${h.hidden('user_created','True')}
</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>