Show More
@@ -207,7 +207,9 b'' | |||
|
207 | 207 | %endif |
|
208 | 208 | %endif |
|
209 | 209 | <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li> |
|
210 | <li>${h.link_to(_('Open new pull request'),h.url('pullrequest_home',repo_name=c.repo_name),class_='pull_request')}</li> | |
|
210 | %if h.is_hg(c.rhodecode_repo): | |
|
211 | <li>${h.link_to(_('Open new pull request'),h.url('pullrequest_home',repo_name=c.repo_name),class_='pull_request')}</li> | |
|
212 | %endif | |
|
211 | 213 | <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li> |
|
212 | 214 | |
|
213 | 215 | % if h.HasPermissionAll('hg.admin')('access admin main page'): |
@@ -36,7 +36,9 b'' | |||
|
36 | 36 | %if c.rhodecode_db_repo.fork: |
|
37 | 37 | <a title="${_('compare fork with %s' % c.rhodecode_db_repo.fork.repo_name)}" href="${h.url('compare_url',repo_name=c.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default',repo=c.rhodecode_db_repo.fork.repo_name)}" class="ui-btn small">${_('Compare fork')}</a> |
|
38 | 38 | %endif |
|
39 | %if h.is_hg(c.rhodecode_repo): | |
|
39 | 40 | <a href="${h.url('pullrequest_home',repo_name=c.repo_name)}" class="ui-btn small">${_('Open new pull request')}</a> |
|
41 | %endif | |
|
40 | 42 | </div> |
|
41 | 43 | <div class="container_header"> |
|
42 | 44 | ${h.form(h.url.current(),method='get')} |
General Comments 0
You need to be logged in to leave comments.
Login now