Files
@ bf5c2c75c976
Branch filter:
Location: kallithea/rhodecode/templates/pullrequests/pullrequest_data.html - annotation
bf5c2c75c976
910 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
9d2db665ef31 9d2db665ef31 9d2db665ef31 9d2db665ef31 9d2db665ef31 9d2db665ef31 73ef2a5d3042 9d2db665ef31 9d2db665ef31 7d988c308533 7d988c308533 7d988c308533 9d2db665ef31 9d2db665ef31 e29b927d4de4 9d2db665ef31 9d2db665ef31 9d2db665ef31 8f3f4b2e3df8 3c79c197e95d 3c79c197e95d 3c79c197e95d 3c79c197e95d a8f520540ab0 | ## -*- coding: utf-8 -*-
% for pr in c.pullrequests_pager:
<div class="pr ${'pr-closed' if pr.is_closed() else ''}">
<div class="pr-title">
<img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
<a href="${h.url('pullrequest_show',repo_name=pr.other_repo.repo_name,pull_request_id=pr.pull_request_id)}">
${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
</a>
%if pr.is_closed():
<span class="pr-closed-tag">${_('Closed')}</span>
%endif
</div>
<h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
<div class="pr-desc">${pr.description}</div>
</div>
% endfor
<div class="notification-paginator">
<div class="pagination-wh pagination-left">
${c.pullrequests_pager.pager('$link_previous ~2~ $link_next')}
</div>
</div>
|