Show More
@@ -1,50 +1,55 | |||
|
1 | 1 | <%inherit file="/base/base.html"/> |
|
2 | 2 | |
|
3 | 3 | <%def name="title()"> |
|
4 | 4 | ${_('%s Pull Requests') % c.repo_name} · ${c.rhodecode_name} |
|
5 | 5 | </%def> |
|
6 | 6 | |
|
7 | 7 | <%def name="breadcrumbs_links()"> |
|
8 | 8 | %if c.from_: |
|
9 | 9 | ${_('Pull requests from %s') % c.repo_name} |
|
10 | 10 | %else: |
|
11 | 11 | ${_('Pull requests to %s') % c.repo_name} |
|
12 | 12 | %endif |
|
13 | 13 | </%def> |
|
14 | 14 | |
|
15 | 15 | <%def name="page_nav()"> |
|
16 | 16 | ${self.menu('repositories')} |
|
17 | 17 | </%def> |
|
18 | 18 | |
|
19 | 19 | <%def name="main()"> |
|
20 | 20 | ${self.repo_context_bar('showpullrequest')} |
|
21 | 21 | |
|
22 | 22 | <div class="box"> |
|
23 | 23 | <!-- box / title --> |
|
24 | 24 | <div class="title"> |
|
25 | 25 | ${self.breadcrumbs()} |
|
26 | 26 | </div> |
|
27 | 27 | |
|
28 | 28 | <div style="margin: 0 20px"> |
|
29 | 29 | <div> |
|
30 | 30 | %if c.from_: |
|
31 | 31 | ${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))} |
|
32 | 32 | %else: |
|
33 | 33 | ${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))} |
|
34 | 34 | %endif |
|
35 | 35 | </div> |
|
36 | 36 | |
|
37 | 37 | <div> |
|
38 | 38 | %if c.closed: |
|
39 | 39 | ${h.link_to(_('Hide closed pull requests'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_))} |
|
40 | 40 | %else: |
|
41 | 41 | ${h.link_to(_('Show closed pull requests too'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))} |
|
42 | 42 | %endif |
|
43 | 43 | </div> |
|
44 | ||
|
45 | <div> | |
|
46 | <a id="open_new_pr" href="${h.url('pullrequest_home',repo_name=c.repo_name)}">${_('Open new pull request')}</a> | |
|
47 | </div> | |
|
48 | ||
|
44 | 49 | </div> |
|
45 | 50 | |
|
46 | 51 | ${c.pullrequest_data} |
|
47 | 52 | |
|
48 | 53 | </div> |
|
49 | 54 | |
|
50 | 55 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now