Files
@ bf5c2c75c976
Branch filter:
Location: kallithea/rhodecode/templates/admin/repos/repo_add.html - annotation
bf5c2c75c976
721 B
text/html
fixes issue #856 file upload >1000 bytes on windows throws exception.
The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform
The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform
1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1f334a68d057 1e757ac98988 1e757ac98988 1e757ac98988 069884383cc7 f91d3f9b7230 f91d3f9b7230 f91d3f9b7230 069884383cc7 069884383cc7 069884383cc7 cfc0fef66ddd 069884383cc7 1e757ac98988 ec6354949623 1e757ac98988 1e757ac98988 1e757ac98988 b4f401524060 1e757ac98988 4b62d2fea08a 1e757ac98988 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 4b62d2fea08a f91d3f9b7230 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Add repository')} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
%if c.rhodecode_user.is_admin:
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${h.link_to(_('Repositories'),h.url('repos'))}
%else:
${_('Admin')}
»
${_('Repositories')}
%endif
»
${_('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>
<%include file="repo_add_base.html"/>
</div>
</%def>
|