# HG changeset patch # User Marcin Kuzminski # Date 2013-07-03 00:10:47 # Node ID 089fb21d19d517f51903327a26b503fe038053b2 # Parent b622e6849b6761fb12f6ef2f4b592726f7db6b58 Move create pull request button in pull requests view into the top menu, and hide it when you're not logged in diff --git a/rhodecode/templates/pullrequests/pullrequest_show_all.html b/rhodecode/templates/pullrequests/pullrequest_show_all.html --- a/rhodecode/templates/pullrequests/pullrequest_show_all.html +++ b/rhodecode/templates/pullrequests/pullrequest_show_all.html @@ -23,6 +23,17 @@ ${self.repo_context_bar('showpullrequest
${self.breadcrumbs()} + %if c.rhodecode_user.username != 'default': + + %endif
@@ -41,15 +52,9 @@ ${self.repo_context_bar('showpullrequest ${h.link_to(_('Show closed pull requests too'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))} %endif
- -
- ${_('Open new pull request')} -
- ${c.pullrequest_data} -