comparison kallithea/templates/pullrequests/pullrequest_show.html @ 4811:37354e1ab283

template: use block block for page title in root.html
author Mads Kiilerich <madski@unity3d.com>
date Wed, 11 Feb 2015 02:40:28 +0100
parents ec39e73be935
children 0ee5a36aaa99
comparison
equal deleted inserted replaced
4810:6a825018a498 4811:37354e1ab283
1 <%inherit file="/base/base.html"/> 1 <%inherit file="/base/base.html"/>
2 2
3 <%def name="title()"> 3 <%block name="title">
4 ${_('%s Pull Request #%s') % (c.repo_name, c.pull_request.pull_request_id)} 4 ${_('%s Pull Request #%s') % (c.repo_name, c.pull_request.pull_request_id)}
5 %if c.site_name: 5 %if c.site_name:
6 &middot; ${c.site_name} 6 &middot; ${c.site_name}
7 %endif 7 %endif
8 </%def> 8 </%block>
9 9
10 <%def name="breadcrumbs_links()"> 10 <%def name="breadcrumbs_links()">
11 ${_('Pull request #%s from %s#%s') % (c.pull_request.pull_request_id, c.pull_request.org_repo.repo_name, c.cs_branch_name)} 11 ${_('Pull request #%s from %s#%s') % (c.pull_request.pull_request_id, c.pull_request.org_repo.repo_name, c.cs_branch_name)}
12 </%def> 12 </%def>
13 13