Files
@ bf5c2c75c976
Branch filter:
Location: kallithea/rhodecode/templates/pullrequests/pullrequest_show_all.html - annotation
bf5c2c75c976
1.3 KiB
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
1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1f334a68d057 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 1bc579bcd67a 1bc579bcd67a 2ea981f9da79 2ea981f9da79 2ea981f9da79 2ea981f9da79 1bc579bcd67a 072a37c44f58 9d2db665ef31 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 9d2db665ef31 73ef2a5d3042 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a | <%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s Pull Requests') % c.repo_name} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
%if c.from_:
${_('Pull requests from %s') % c.repo_name}
%else:
${_('Pull requests to %s') % c.repo_name}
%endif
</%def>
<%def name="page_nav()">
${self.menu('repositories')}
</%def>
<%def name="main()">
${self.repo_context_bar('showpullrequest')}
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<div style="margin: 0 20px">
<div>
%if c.from_:
${h.link_to(_('Instead, show pull requests to %s') % c.repo_name, h.url('pullrequest_show_all',repo_name=c.repo_name,closed=c.closed))}
%else:
${h.link_to(_('Instead, show pull requests from %s') % c.repo_name, h.url('pullrequest_show_all',repo_name=c.repo_name,closed=c.closed,from_=1))}
%endif
</div>
<div>
%if c.closed:
${h.link_to(_('Hide closed pull requests'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_))}
%else:
${h.link_to(_('Show closed pull requests too'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))}
%endif
</div>
</div>
${c.pullrequest_data}
</div>
</%def>
|