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