##// END OF EJS Templates
routing: use a common method to extract the f_path for repo views....
routing: use a common method to extract the f_path for repo views. The extra slashes can cause odd issues with GIT, the previous pylons code had a fix in routing. This ports this fix into pyramid helper in base app.

File last commit:

r1282:90601d74 default
r1929:0c7b3df6 default
Show More
forks.mako
45 lines | 1005 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('%s Forks') % c.repo_name}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
${_('Forks')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='repositories')}
</%def>
<%def name="menu_bar_subnav()">
${self.repo_menu(active='summary')}
</%def>
<%def name="main()">
<div class="box">
<div class="title">
${self.repo_page_title(c.rhodecode_db_repo)}
<ul class="links">
<li>
## fork open link
<span>
<a class="btn btn-small btn-success" href="${h.url('repo_fork_home',repo_name=c.repo_name)}">
${_('Create new fork')}
</a>
</span>
</li>
</ul>
</div>
<div class="table">
<div id="forks">
${c.forks_data}
</div>
</div>
</div>
</%def>