##// END OF EJS Templates
template: use block block for page title in root.html
Mads Kiilerich -
r4811:37354e1a default
parent child Browse files
Show More
@@ -1,11 +1,11 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3 <%def name="title()">
3 <%block name="title">
4 ${_('About')}
4 ${_('About')}
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 <%def name="breadcrumbs()">
9 <%def name="breadcrumbs()">
10 ${c.site_name}
10 ${c.site_name}
11 </%def>
11 </%def>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Admin Journal')}
5 ${_('Admin Journal')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <form id="filter_form">
12 <form id="filter_form">
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Authentication Settings')}
5 ${_('Authentication Settings')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Repository Defaults')}
5 ${_('Repository Defaults')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Edit Gist')} &middot; ${c.gist.gist_access_id}
5 ${_('Edit Gist')} &middot; ${c.gist.gist_access_id}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%block name="js_extra">
11 <%block name="js_extra">
12 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
12 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
@@ -1,7 +1,7 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 %if c.show_private:
5 %if c.show_private:
6 ${_('Private Gists for User %s') % c.authuser.username}
6 ${_('Private Gists for User %s') % c.authuser.username}
7 %elif c.show_public:
7 %elif c.show_public:
@@ -12,7 +12,7 b''
12 %if c.site_name:
12 %if c.site_name:
13 &middot; ${c.site_name}
13 &middot; ${c.site_name}
14 %endif
14 %endif
15 </%def>
15 </%block>
16
16
17 <%def name="breadcrumbs_links()">
17 <%def name="breadcrumbs_links()">
18 %if c.show_private:
18 %if c.show_private:
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('New Gist')}
5 ${_('New Gist')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%block name="js_extra">
11 <%block name="js_extra">
12 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
12 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Gist')} &middot; ${c.gist.gist_access_id}
5 ${_('Gist')} &middot; ${c.gist.gist_access_id}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('Gist')} &middot; ${c.gist.gist_access_id}
12 ${_('Gist')} &middot; ${c.gist.gist_access_id}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('My Account')} ${c.authuser.username}
5 ${_('My Account')} ${c.authuser.username}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('My Account')}
12 ${_('My Account')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('My Notifications')} ${c.authuser.username}
5 ${_('My Notifications')} ${c.authuser.username}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('My Notifications')}
12 ${_('My Notifications')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Show Notification')} ${c.authuser.username}
5 ${_('Show Notification')} ${c.authuser.username}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Notifications'),h.url('notifications'))}
12 ${h.link_to(_('Notifications'),h.url('notifications'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Permissions Administration')}
5 ${_('Permissions Administration')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Add Repository Group')}
5 ${_('Add Repository Group')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Repository Group Settings') % c.repo_group.name}
5 ${_('%s Repository Group Settings') % c.repo_group.name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,11 +1,11 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s Repository group dashboard') % c.group.group_name}
4 ${_('%s Repository group dashboard') % c.group.group_name}
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()">
10 <%def name="breadcrumbs()">
11 <span class="groups_breadcrumbs">
11 <span class="groups_breadcrumbs">
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Repository Groups Administration')}
5 ${_('Repository Groups Administration')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Add Repository')}
5 ${_('Add Repository')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 %if c.authuser.is_admin:
12 %if c.authuser.is_admin:
@@ -5,12 +5,12 b''
5 <%def name="flash_msg()">
5 <%def name="flash_msg()">
6 </%def>
6 </%def>
7
7
8 <%def name="title()">
8 <%block name="title">
9 ${_('%s Creating Repository') % c.repo_name}
9 ${_('%s Creating Repository') % c.repo_name}
10 %if c.site_name:
10 %if c.site_name:
11 &middot; ${c.site_name}
11 &middot; ${c.site_name}
12 %endif
12 %endif
13 </%def>
13 </%block>
14
14
15 <%def name="breadcrumbs_links()">
15 <%def name="breadcrumbs_links()">
16 ${_('Creating repository')} ${c.repo}
16 ${_('Creating repository')} ${c.repo}
@@ -4,12 +4,12 b''
4 ##
4 ##
5 <%inherit file="/base/base.html"/>
5 <%inherit file="/base/base.html"/>
6
6
7 <%def name="title()">
7 <%block name="title">
8 ${_('%s Repository Settings') % c.repo_info.repo_name}
8 ${_('%s Repository Settings') % c.repo_info.repo_name}
9 %if c.site_name:
9 %if c.site_name:
10 &middot; ${c.site_name}
10 &middot; ${c.site_name}
11 %endif
11 %endif
12 </%def>
12 </%block>
13
13
14 <%def name="breadcrumbs_links()">
14 <%def name="breadcrumbs_links()">
15 ${_('Settings')}
15 ${_('Settings')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Repositories Administration')}
5 ${_('Repositories Administration')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/> ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; <span id="repo_count">0</span> ${_('Repositories')}
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/> ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; <span id="repo_count">0</span> ${_('Repositories')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Settings Administration')}
5 ${_('Settings Administration')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Add user group')}
5 ${_('Add user group')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10 <%def name="breadcrumbs_links()">
10 <%def name="breadcrumbs_links()">
11 ${h.link_to(_('Admin'),h.url('admin_home'))}
11 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 &raquo;
12 &raquo;
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s user group settings') % c.user_group.users_group_name}
5 ${_('%s user group settings') % c.user_group.users_group_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('User Groups Administration')}
5 ${_('User Groups Administration')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Add user')}
5 ${_('Add user')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10 <%def name="breadcrumbs_links()">
10 <%def name="breadcrumbs_links()">
11 ${h.link_to(_('Admin'),h.url('admin_home'))}
11 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 &raquo;
12 &raquo;
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s user settings') % c.user.username}
5 ${_('%s user settings') % c.user.username}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
12 ${h.link_to(_('Admin'),h.url('admin_home'))}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Users Administration')}
5 ${_('Users Administration')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
12 <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
@@ -2,7 +2,7 b''
2 <!DOCTYPE html>
2 <!DOCTYPE html>
3 <html xmlns="http://www.w3.org/1999/xhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <title>${self.title()}</title>
5 <title><%block name="title"/></title>
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 <meta name="robots" content="index, nofollow"/>
7 <meta name="robots" content="index, nofollow"/>
8 <link rel="icon" href="${h.url('/images/favicon.ico')}" type="image/png" />
8 <link rel="icon" href="${h.url('/images/favicon.ico')}" type="image/png" />
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Bookmarks') % c.repo_name}
5 ${_('%s Bookmarks') % c.repo_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter_bookmarks" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
12 <input class="q_filter_box" id="q_filter_bookmarks" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Branches') % c.repo_name}
5 ${_('%s Branches') % c.repo_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter_branches" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
12 <input class="q_filter_box" id="q_filter_branches" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
@@ -2,7 +2,7 b''
2
2
3 <%inherit file="/base/base.html"/>
3 <%inherit file="/base/base.html"/>
4
4
5 <%def name="title()">
5 <%block name="title">
6 ${_('%s Changelog') % c.repo_name}
6 ${_('%s Changelog') % c.repo_name}
7 %if c.changelog_for_path:
7 %if c.changelog_for_path:
8 /${c.changelog_for_path}
8 /${c.changelog_for_path}
@@ -10,7 +10,7 b''
10 %if c.site_name:
10 %if c.site_name:
11 &middot; ${c.site_name}
11 &middot; ${c.site_name}
12 %endif
12 %endif
13 </%def>
13 </%block>
14
14
15 <%def name="breadcrumbs_links()">
15 <%def name="breadcrumbs_links()">
16 <% size = c.size if c.size <= c.total_cs else c.total_cs %>
16 <% size = c.size if c.size <= c.total_cs else c.total_cs %>
@@ -2,12 +2,12 b''
2
2
3 <%inherit file="/base/base.html"/>
3 <%inherit file="/base/base.html"/>
4
4
5 <%def name="title()">
5 <%block name="title">
6 ${_('%s Changeset') % c.repo_name} - ${h.show_id(c.changeset)}
6 ${_('%s Changeset') % c.repo_name} - ${h.show_id(c.changeset)}
7 %if c.site_name:
7 %if c.site_name:
8 &middot; ${c.site_name}
8 &middot; ${c.site_name}
9 %endif
9 %endif
10 </%def>
10 </%block>
11
11
12 <%def name="breadcrumbs_links()">
12 <%def name="breadcrumbs_links()">
13 ${_('Changeset')} - <span class='hash'>${h.show_id(c.changeset)}</span>
13 ${_('Changeset')} - <span class='hash'>${h.show_id(c.changeset)}</span>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Changesets') % c.repo_name} - ${h.show_id(c.cs_ranges[0])} &gt; ${h.show_id(c.cs_ranges[-1])}
5 ${_('%s Changesets') % c.repo_name} - ${h.show_id(c.cs_ranges[0])} &gt; ${h.show_id(c.cs_ranges[-1])}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('Changesets')} -
12 ${_('Changesets')} -
@@ -1,7 +1,7 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 %if c.compare_home:
5 %if c.compare_home:
6 ${_('%s Compare') % c.repo_name}
6 ${_('%s Compare') % c.repo_name}
7 %else:
7 %else:
@@ -10,7 +10,7 b''
10 %if c.site_name:
10 %if c.site_name:
11 &middot; ${c.site_name}
11 &middot; ${c.site_name}
12 %endif
12 %endif
13 </%def>
13 </%block>
14
14
15 <%def name="breadcrumbs_links()">
15 <%def name="breadcrumbs_links()">
16 ${_('Compare Revisions')}
16 ${_('Compare Revisions')}
@@ -11,12 +11,12 b''
11 <link rel="stylesheet" type="text/css" href="${h.url('/css/mergely.css')}"/>
11 <link rel="stylesheet" type="text/css" href="${h.url('/css/mergely.css')}"/>
12 </%block>
12 </%block>
13
13
14 <%def name="title()">
14 <%block name="title">
15 ${_('%s File side-by-side diff') % c.repo_name}
15 ${_('%s File side-by-side diff') % c.repo_name}
16 %if c.site_name:
16 %if c.site_name:
17 &middot; ${c.site_name}
17 &middot; ${c.site_name}
18 %endif
18 %endif
19 </%def>
19 </%block>
20
20
21 <%def name="breadcrumbs_links()">
21 <%def name="breadcrumbs_links()">
22 ${_('File diff')} ${h.show_id(c.changeset_1)} &rarr; ${h.show_id(c.changeset_2)}
22 ${_('File diff')} ${h.show_id(c.changeset_1)} &rarr; ${h.show_id(c.changeset_2)}
@@ -1,11 +1,11 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s File Diff') % c.repo_name}
4 ${_('%s File Diff') % c.repo_name}
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 ${_('File diff')} ${h.show_id(c.changeset_1)} &rarr; ${h.show_id(c.changeset_2)}
11 ${_('File diff')} ${h.show_id(c.changeset_1)} &rarr; ${h.show_id(c.changeset_2)}
@@ -1,6 +1,6 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title(*args)">
3 <%block name="title">
4 ${_('%s Files') % c.repo_name}
4 ${_('%s Files') % c.repo_name}
5 %if hasattr(c,'file'):
5 %if hasattr(c,'file'):
6 &middot; ${h.safe_unicode(c.file.path) or '/'}
6 &middot; ${h.safe_unicode(c.file.path) or '/'}
@@ -9,7 +9,7 b''
9 %if c.site_name:
9 %if c.site_name:
10 &middot; ${c.site_name}
10 &middot; ${c.site_name}
11 %endif
11 %endif
12 </%def>
12 </%block>
13
13
14 <%def name="breadcrumbs_links()">
14 <%def name="breadcrumbs_links()">
15 ${_('Files')}
15 ${_('Files')}
@@ -80,7 +80,7 b' var ypjax_links = function(){'
80 var rev = parts2.shift(); // pop the first element which is the revision
80 var rev = parts2.shift(); // pop the first element which is the revision
81 var f_path = parts2.join('/');
81 var f_path = parts2.join('/');
82
82
83 //page title make this consistent with title() mako function on top
83 //page title - make this consistent with title mako block above
84 var title = "${_('%s Files') % c.repo_name}" + " \u00B7 " + (f_path || '/') + " \u00B7 " + "${c.site_name}";
84 var title = "${_('%s Files') % c.repo_name}" + " \u00B7 " + (f_path || '/') + " \u00B7 " + "${c.site_name}";
85
85
86 var _node_list_url = node_list_url.replace('__REV__',rev).replace('__FPATH__', f_path);
86 var _node_list_url = node_list_url.replace('__REV__',rev).replace('__FPATH__', f_path);
@@ -97,7 +97,7 b' var ypjax_links = function(){'
97 });
97 });
98 }
98 }
99
99
100 // callbacks needed to process the pjax filebrowser
100 // callbacks needed to process the ypjax filebrowser
101 var callbacks = function(State){
101 var callbacks = function(State){
102 ypjax_links();
102 ypjax_links();
103 tooltip_activate();
103 tooltip_activate();
@@ -1,11 +1,11 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s Files Add') % c.repo_name}
4 ${_('%s Files Add') % c.repo_name}
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 <%block name="js_extra">
10 <%block name="js_extra">
11 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
11 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
@@ -1,11 +1,11 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s Files Delete') % c.repo_name}
4 ${_('%s Files Delete') % c.repo_name}
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 <%block name="header_menu">
10 <%block name="header_menu">
11 ${self.menu('repositories')}
11 ${self.menu('repositories')}
@@ -1,11 +1,11 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s File Edit') % c.repo_name}
4 ${_('%s File Edit') % c.repo_name}
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 <%block name="js_extra">
10 <%block name="js_extra">
11 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
11 <script type="text/javascript" src="${h.url('/codemirror/lib/codemirror.js')}"></script>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Followers') % c.repo_name}
5 ${_('%s Followers') % c.repo_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('Followers')}
12 ${_('Followers')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Fork repository %s') % c.repo_name}
5 ${_('Fork repository %s') % c.repo_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('Fork')}
12 ${_('Fork')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Forks') % c.repo_name}
5 ${_('%s Forks') % c.repo_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${_('Forks')}
12 ${_('Forks')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/base.html"/>
2 <%inherit file="base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Dashboard')}
5 ${_('Dashboard')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs()">
11 <%def name="breadcrumbs()">
12 </%def>
12 </%def>
@@ -1,11 +1,11 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3 <%def name="title()">
3 <%block name="title">
4 ${_('Journal')}
4 ${_('Journal')}
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 <%def name="breadcrumbs()">
9 <%def name="breadcrumbs()">
10 <h5>
10 <h5>
11 <form id="filter_form">
11 <form id="filter_form">
@@ -1,11 +1,11 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3 <%def name="title()">
3 <%block name="title">
4 ${_('Public Journal')}
4 ${_('Public Journal')}
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 <%def name="breadcrumbs()">
9 <%def name="breadcrumbs()">
10 ${c.site_name}
10 ${c.site_name}
11 </%def>
11 </%def>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.html"/>
2 <%inherit file="base/root.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Log In')}
5 ${_('Log In')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <div id="login">
11 <div id="login">
12 <%include file="/base/flash_msg.html"/>
12 <%include file="/base/flash_msg.html"/>
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.html"/>
2 <%inherit file="base/root.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Password Reset')}
5 ${_('Password Reset')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <div id="register">
11 <div id="register">
12 <%include file="/base/flash_msg.html"/>
12 <%include file="/base/flash_msg.html"/>
@@ -1,8 +1,8 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${c.repo_name} ${_('New Pull Request')}
4 ${c.repo_name} ${_('New Pull Request')}
5 </%def>
5 </%block>
6
6
7 <%def name="breadcrumbs_links()">
7 <%def name="breadcrumbs_links()">
8 ${_('New Pull Request')}
8 ${_('New Pull Request')}
@@ -1,11 +1,11 b''
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)}
@@ -1,11 +1,11 b''
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 Requests') % c.repo_name}
4 ${_('%s Pull Requests') % c.repo_name}
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 %if c.from_:
11 %if c.from_:
@@ -1,8 +1,8 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('My Pull Requests')} &middot; ${c.site_name}
4 ${_('My Pull Requests')} &middot; ${c.site_name}
5 </%def>
5 </%block>
6
6
7 <%def name="breadcrumbs_links()">
7 <%def name="breadcrumbs_links()">
8 ${_('My Pull Requests')}
8 ${_('My Pull Requests')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.html"/>
2 <%inherit file="base/root.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('Sign Up')}
5 ${_('Sign Up')}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <div id="register">
11 <div id="register">
12 <%include file="/base/flash_msg.html"/>
12 <%include file="/base/flash_msg.html"/>
@@ -1,7 +1,7 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 %if c.repo_name:
5 %if c.repo_name:
6 ${_('%s Search') % c.repo_name}
6 ${_('%s Search') % c.repo_name}
7 %else:
7 %else:
@@ -10,7 +10,7 b''
10 %if c.site_name:
10 %if c.site_name:
11 &middot; ${c.site_name}
11 &middot; ${c.site_name}
12 %endif
12 %endif
13 </%def>
13 </%block>
14
14
15 <%def name="breadcrumbs_links()">
15 <%def name="breadcrumbs_links()">
16 %if c.repo_name:
16 %if c.repo_name:
@@ -1,11 +1,11 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s Statistics') % c.repo_name}
4 ${_('%s Statistics') % c.repo_name}
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 ${_('Statistics')}
11 ${_('Statistics')}
@@ -1,11 +1,11 b''
1 <%inherit file="/base/base.html"/>
1 <%inherit file="/base/base.html"/>
2
2
3 <%def name="title()">
3 <%block name="title">
4 ${_('%s Summary') % c.repo_name}
4 ${_('%s Summary') % c.repo_name}
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 ${_('Summary')}
11 ${_('Summary')}
@@ -1,12 +1,12 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.html"/>
2 <%inherit file="/base/base.html"/>
3
3
4 <%def name="title()">
4 <%block name="title">
5 ${_('%s Tags') % c.repo_name}
5 ${_('%s Tags') % c.repo_name}
6 %if c.site_name:
6 %if c.site_name:
7 &middot; ${c.site_name}
7 &middot; ${c.site_name}
8 %endif
8 %endif
9 </%def>
9 </%block>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
12 <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
General Comments 0
You need to be logged in to leave comments. Login now