##// END OF EJS Templates
pull requests: make it possible control display of closed PRs and whether it is PRs to or from repo
pull requests: make it possible control display of closed PRs and whether it is PRs to or from repo

File last commit:

r4024:73ef2a5d default
r4024:73ef2a5d default
Show More
pullrequest_show_all.html
50 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()">
Mads Kiilerich
pull requests: make it possible control display of closed PRs and whether it is PRs to or from repo
r4024 %if c.from_:
${_('Pull requests from %s') % c.repo_name}
%else:
${_('Pull requests to %s') % c.repo_name}
%endif
- 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()">
Mads Kiilerich
templates: drop context_bar, use repo_context_bar directly
r3988 ${self.repo_context_bar('showpullrequest')}
pagination in pull-requests page + UI
r3676
- pull request generates overview based on it's params...
r2440 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
Mads Kiilerich
pull requests: make it possible control display of closed PRs and whether it is PRs to or from repo
r4024
<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>
pagination in pull-requests page + UI
r3676 ${c.pullrequest_data}
Mads Kiilerich
pull requests: make it possible control display of closed PRs and whether it is PRs to or from repo
r4024
- pull request generates overview based on it's params...
r2440 </div>
</%def>