##// END OF EJS Templates
summary: redirect from repo URLs with #branchname to changelog with this branch...
summary: redirect from repo URLs with #branchname to changelog with this branch This implements partial support for the Mercurial syntax for specifying revisions so https://secure.rhodecode.org/rhodecode/#beta works both for pulling with Mercurial and browsing. This uses javascript, and has a bit of extra support for onhashchange in HTML5 browsers.

File last commit:

r3652:8a8a559e beta
r3655:c78de39f beta
Show More
pullrequest_show_all.html
42 lines | 1.3 KiB | text/html | HtmlLexer
- pull request generates overview based on it's params...
r2440 <%inherit file="/base/base.html"/>
<%def name="title()">
improved title consistency...
r3582 ${_('%s Pull Requests') % c.repo_name} &middot; ${c.rhodecode_name}
- pull request generates overview based on it's params...
r2440 </%def>
<%def name="breadcrumbs_links()">
Leonardo
Fixing missing icons....
r3532 ${_('Pull requests')}
- pull request generates overview based on it's params...
r2440 </%def>
Mads Kiilerich
templates: enforce more consistency by being less flexible in templates...
r3609 <%def name="page_nav()">
${self.menu('repositories')}
</%def>
- pull request generates overview based on it's params...
r2440 <%def name="main()">
Leonardo
Adding the context bar too all pages related to a Repository....
r3527 ${self.context_bar('showpullrequest')}
- pull request generates overview based on it's params...
r2440 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
white space cleanup
r2478
- pull request generates overview based on it's params...
r2440 %for pr in c.pull_requests:
Mads Kiilerich
pullrequests: state "closed" explicitly...
r3652 <div class="${'closed' if pr.is_closed() else ''}">
<h4 style="border:0px;padding:0px">
show status of pull requests and if it's closed
r3263 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
some formatting on list of pull-requests
r3259 <a href="${h.url('pullrequest_show',repo_name=c.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>
Mads Kiilerich
pullrequests: state "closed" explicitly...
r3652 %if pr.is_closed():
(${_('Closed')})
%endif
little love for pull-requests list
r2586 </h4>
<h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
<div style="padding:0px 24px">${pr.description}</div>
some formatting on list of pull-requests
r3259 <div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div>
little love for pull-requests list
r2586 </div>
- pull request generates overview based on it's params...
r2440 %endfor
white space cleanup
r2478
- pull request generates overview based on it's params...
r2440 </div>
</%def>