Show More
@@ -23,6 +23,17 b'' | |||
|
23 | 23 | <!-- box / title --> |
|
24 | 24 | <div class="title"> |
|
25 | 25 | ${self.breadcrumbs()} |
|
26 | %if c.rhodecode_user.username != 'default': | |
|
27 | <ul class="links"> | |
|
28 | %if h.HasPermissionAny('hg.admin','hg.create.repository')() or h.HasReposGroupPermissionAny('group.write', 'group.admin')(c.group.group_name if c.group else None): | |
|
29 | <li> | |
|
30 | <span> | |
|
31 | <a id="open_new_pr" href="${h.url('pullrequest_home',repo_name=c.repo_name)}">${_('Open new pull request')}</a> | |
|
32 | </span> | |
|
33 | </li> | |
|
34 | %endif | |
|
35 | </ul> | |
|
36 | %endif | |
|
26 | 37 | </div> |
|
27 | 38 | |
|
28 | 39 | <div style="margin: 0 20px"> |
@@ -41,15 +52,9 b'' | |||
|
41 | 52 | ${h.link_to(_('Show closed pull requests too'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))} |
|
42 | 53 | %endif |
|
43 | 54 | </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 | ||
|
49 | 55 | </div> |
|
50 | 56 | |
|
51 | 57 | ${c.pullrequest_data} |
|
52 | 58 | |
|
53 | 59 | </div> |
|
54 | ||
|
55 | 60 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now