Changeset - 7e897077bb40
[Not reviewed]
default
0 1 0
Mads Kiilerich - 12 years ago 2013-06-12 02:13:05
madski@unity3d.com
Grafted from: e94b1885d87f
pullrequests: add link for creating pull requests to PR overview page
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/pullrequests/pullrequest_show_all.html
Show inline comments
 
@@ -20,31 +20,36 @@
 
${self.repo_context_bar('showpullrequest')}
 

	
 
<div class="box">
 
    <!-- box / title -->
 
    <div class="title">
 
        ${self.breadcrumbs()}
 
    </div>
 

	
 
    <div style="margin: 0 20px">
 
        <div>
 
        %if c.from_:
 
            ${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))}
 
        %else:
 
            ${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))}
 
        %endif
 
        </div>
 

	
 
        <div>
 
        %if c.closed:
 
            ${h.link_to(_('Hide closed pull requests'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_))}
 
        %else:
 
            ${h.link_to(_('Show closed pull requests too'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))}
 
        %endif
 
        </div>
 

	
 
        <div>
 
            <a id="open_new_pr" href="${h.url('pullrequest_home',repo_name=c.repo_name)}">${_('Open new pull request')}</a>
 
        </div>
 

	
 
    </div>
 

	
 
    ${c.pullrequest_data}
 

	
 
</div>
 

	
 
</%def>
0 comments (0 inline, 0 general)