Show More
@@ -53,7 +53,7 b' class ErrorController(BaseController):' | |||||
53 |
|
53 | |||
54 | def document(self): |
|
54 | def document(self): | |
55 | resp = request.environ.get('pylons.original_response') |
|
55 | resp = request.environ.get('pylons.original_response') | |
56 |
c. |
|
56 | c.site_name = config.get('rhodecode_title') | |
57 |
|
57 | |||
58 | log.debug('### %s ###' % resp.status) |
|
58 | log.debug('### %s ###' % resp.status) | |
59 |
|
59 |
@@ -51,7 +51,7 b' class FeedController(BaseRepoController)' | |||||
51 | super(FeedController, self).__before__() |
|
51 | super(FeedController, self).__before__() | |
52 | #common values for feeds |
|
52 | #common values for feeds | |
53 | self.description = _('Changes on %s repository') |
|
53 | self.description = _('Changes on %s repository') | |
54 |
self.title = self.title = _('%s %s feed') % (c. |
|
54 | self.title = self.title = _('%s %s feed') % (c.site_name, '%s') | |
55 | self.language = 'en-us' |
|
55 | self.language = 'en-us' | |
56 | self.ttl = "5" |
|
56 | self.ttl = "5" | |
57 | import kallithea |
|
57 | import kallithea |
@@ -109,11 +109,11 b' class JournalController(BaseController):' | |||||
109 | journal = self._get_journal_data(repos) |
|
109 | journal = self._get_journal_data(repos) | |
110 | if public: |
|
110 | if public: | |
111 | _link = url('public_journal_atom', qualified=True) |
|
111 | _link = url('public_journal_atom', qualified=True) | |
112 |
_desc = '%s %s %s' % (c. |
|
112 | _desc = '%s %s %s' % (c.site_name, _('public journal'), | |
113 | 'atom feed') |
|
113 | 'atom feed') | |
114 | else: |
|
114 | else: | |
115 | _link = url('journal_atom', qualified=True) |
|
115 | _link = url('journal_atom', qualified=True) | |
116 |
_desc = '%s %s %s' % (c. |
|
116 | _desc = '%s %s %s' % (c.site_name, _('journal'), 'atom feed') | |
117 |
|
117 | |||
118 | feed = Atom1Feed(title=_desc, |
|
118 | feed = Atom1Feed(title=_desc, | |
119 | link=_link, |
|
119 | link=_link, | |
@@ -152,11 +152,11 b' class JournalController(BaseController):' | |||||
152 | journal = self._get_journal_data(repos) |
|
152 | journal = self._get_journal_data(repos) | |
153 | if public: |
|
153 | if public: | |
154 | _link = url('public_journal_atom', qualified=True) |
|
154 | _link = url('public_journal_atom', qualified=True) | |
155 |
_desc = '%s %s %s' % (c. |
|
155 | _desc = '%s %s %s' % (c.site_name, _('public journal'), | |
156 | 'rss feed') |
|
156 | 'rss feed') | |
157 | else: |
|
157 | else: | |
158 | _link = url('journal_atom', qualified=True) |
|
158 | _link = url('journal_atom', qualified=True) | |
159 |
_desc = '%s %s %s' % (c. |
|
159 | _desc = '%s %s %s' % (c.site_name, _('journal'), 'rss feed') | |
160 |
|
160 | |||
161 | feed = Rss201rev2Feed(title=_desc, |
|
161 | feed = Rss201rev2Feed(title=_desc, | |
162 | link=_link, |
|
162 | link=_link, |
@@ -300,7 +300,7 b' class BaseController(WSGIController):' | |||||
300 | c.visual.gravatar_url = rc_config.get('rhodecode_gravatar_url') |
|
300 | c.visual.gravatar_url = rc_config.get('rhodecode_gravatar_url') | |
301 |
|
301 | |||
302 | c.ga_code = rc_config.get('rhodecode_ga_code') |
|
302 | c.ga_code = rc_config.get('rhodecode_ga_code') | |
303 |
c. |
|
303 | c.site_name = rc_config.get('rhodecode_title') | |
304 | c.clone_uri_tmpl = rc_config.get('rhodecode_clone_uri_tmpl') |
|
304 | c.clone_uri_tmpl = rc_config.get('rhodecode_clone_uri_tmpl') | |
305 |
|
305 | |||
306 | ## INI stored |
|
306 | ## INI stored |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Admin journal')} |
|
5 | ${_('Admin journal')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Authentication Settings')} |
|
5 | ${_('Authentication Settings')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Repositories defaults')} |
|
5 | ${_('Repositories defaults')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Edit Gist')} · ${c.gist.gist_access_id} |
|
5 | ${_('Edit Gist')} · ${c.gist.gist_access_id} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -9,8 +9,8 b'' | |||||
9 | %else: |
|
9 | %else: | |
10 | ${_('Public Gists')} |
|
10 | ${_('Public Gists')} | |
11 | %endif |
|
11 | %endif | |
12 |
%if c. |
|
12 | %if c.site_name: | |
13 |
· ${c. |
|
13 | · ${c.site_name} | |
14 | %endif |
|
14 | %endif | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('New Gist')} |
|
5 | ${_('New Gist')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Gist')} · ${c.gist.gist_access_id} |
|
5 | ${_('Gist')} · ${c.gist.gist_access_id} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('My account')} ${c.authuser.username} |
|
5 | ${_('My account')} ${c.authuser.username} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('My Notifications')} ${c.authuser.username} |
|
5 | ${_('My Notifications')} ${c.authuser.username} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Show notification')} ${c.authuser.username} |
|
5 | ${_('Show notification')} ${c.authuser.username} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Permissions administration')} |
|
5 | ${_('Permissions administration')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Add repository group')} |
|
5 | ${_('Add repository group')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s Repository group settings') % c.repo_group.name} |
|
5 | ${_('%s Repository group settings') % c.repo_group.name} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -2,8 +2,8 b'' | |||||
2 | <%inherit file="/base/base.html"/> |
|
2 | <%inherit file="/base/base.html"/> | |
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s Repository group dashboard') % c.group.group_name} |
|
4 | ${_('%s Repository group dashboard') % c.group.group_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Repository groups administration')} |
|
5 | ${_('Repository groups administration')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Add repository')} |
|
5 | ${_('Add repository')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -7,8 +7,8 b'' | |||||
7 |
|
7 | |||
8 | <%def name="title()"> |
|
8 | <%def name="title()"> | |
9 | ${_('%s Creating repository') % c.repo_name} |
|
9 | ${_('%s Creating repository') % c.repo_name} | |
10 |
%if c. |
|
10 | %if c.site_name: | |
11 |
· ${c. |
|
11 | · ${c.site_name} | |
12 | %endif |
|
12 | %endif | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 |
@@ -6,8 +6,8 b'' | |||||
6 |
|
6 | |||
7 | <%def name="title()"> |
|
7 | <%def name="title()"> | |
8 | ${_('%s repository settings') % c.repo_info.repo_name} |
|
8 | ${_('%s repository settings') % c.repo_info.repo_name} | |
9 |
%if c. |
|
9 | %if c.site_name: | |
10 |
· ${c. |
|
10 | · ${c.site_name} | |
11 | %endif |
|
11 | %endif | |
12 | </%def> |
|
12 | </%def> | |
13 |
|
13 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Repositories administration')} |
|
5 | ${_('Repositories administration')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Settings administration')} |
|
5 | ${_('Settings administration')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Add user group')} |
|
5 | ${_('Add user group')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 | <%def name="breadcrumbs_links()"> |
|
10 | <%def name="breadcrumbs_links()"> |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def 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. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('User groups administration')} |
|
5 | ${_('User groups administration')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Add user')} |
|
5 | ${_('Add user')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 | <%def name="breadcrumbs_links()"> |
|
10 | <%def name="breadcrumbs_links()"> |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s user settings') % c.user.username} |
|
5 | ${_('%s user settings') % c.user.username} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Users administration')} |
|
5 | ${_('Users administration')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -8,8 +8,8 b'' | |||||
8 | <div class="header"> |
|
8 | <div class="header"> | |
9 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> |
|
9 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> | |
10 | </div> |
|
10 | </div> | |
11 |
%if c. |
|
11 | %if c.site_name: | |
12 |
<div class="branding">- ${c. |
|
12 | <div class="branding">- ${c.site_name}</div> | |
13 | %endif |
|
13 | %endif | |
14 | </div> |
|
14 | </div> | |
15 | <!-- MENU --> |
|
15 | <!-- MENU --> |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s Bookmarks') % c.repo_name} |
|
5 | ${_('%s Bookmarks') % c.repo_name} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s Branches') % c.repo_name} |
|
5 | ${_('%s Branches') % c.repo_name} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -7,8 +7,8 b'' | |||||
7 | %if c.changelog_for_path: |
|
7 | %if c.changelog_for_path: | |
8 | /${c.changelog_for_path} |
|
8 | /${c.changelog_for_path} | |
9 | %endif |
|
9 | %endif | |
10 |
%if c. |
|
10 | %if c.site_name: | |
11 |
· ${c. |
|
11 | · ${c.site_name} | |
12 | %endif |
|
12 | %endif | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 |
@@ -4,8 +4,8 b'' | |||||
4 |
|
4 | |||
5 | <%def name="title()"> |
|
5 | <%def 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. |
|
7 | %if c.site_name: | |
8 |
· ${c. |
|
8 | · ${c.site_name} | |
9 | %endif |
|
9 | %endif | |
10 | </%def> |
|
10 | </%def> | |
11 |
|
11 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s Changesets') % c.repo_name} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} > r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} |
|
5 | ${_('%s Changesets') % c.repo_name} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} > r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -7,8 +7,8 b'' | |||||
7 | %else: |
|
7 | %else: | |
8 | ${_('%s Compare') % c.repo_name} - ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} > ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} |
|
8 | ${_('%s Compare') % c.repo_name} - ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} > ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} | |
9 | %endif |
|
9 | %endif | |
10 |
%if c. |
|
10 | %if c.site_name: | |
11 |
· ${c. |
|
11 | · ${c.site_name} | |
12 | %endif |
|
12 | %endif | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 |
@@ -38,7 +38,7 b'' | |||||
38 | <div id="login"> |
|
38 | <div id="login"> | |
39 | <div class="table"> |
|
39 | <div class="table"> | |
40 | <div id="main_div"> |
|
40 | <div id="main_div"> | |
41 |
<div style="font-size:2.0em;margin: 10px">${c. |
|
41 | <div style="font-size:2.0em;margin: 10px">${c.site_name}</div> | |
42 | <h1 class="error_message">${c.error_message}</h1> |
|
42 | <h1 class="error_message">${c.error_message}</h1> | |
43 |
|
43 | |||
44 | <p>${c.error_explanation}</p> |
|
44 | <p>${c.error_explanation}</p> |
@@ -13,8 +13,8 b'' | |||||
13 |
|
13 | |||
14 | <%def name="title()"> |
|
14 | <%def 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. |
|
16 | %if c.site_name: | |
17 |
· ${c. |
|
17 | · ${c.site_name} | |
18 | %endif |
|
18 | %endif | |
19 | </%def> |
|
19 | </%def> | |
20 |
|
20 |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s File Diff') % c.repo_name} |
|
4 | ${_('%s File Diff') % c.repo_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -6,8 +6,8 b'' | |||||
6 | · ${h.safe_unicode(c.file.path) or '\\'} |
|
6 | · ${h.safe_unicode(c.file.path) or '\\'} | |
7 | %endif |
|
7 | %endif | |
8 |
|
8 | |||
9 |
%if c. |
|
9 | %if c.site_name: | |
10 |
· ${c. |
|
10 | · ${c.site_name} | |
11 | %endif |
|
11 | %endif | |
12 | </%def> |
|
12 | </%def> | |
13 |
|
13 | |||
@@ -81,7 +81,7 b' var ypjax_links = function(){' | |||||
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 function on top | |
84 |
var title = "${_('%s Files') % c.repo_name}" + " · " + (f_path || '\\') + " · " + "${c. |
|
84 | var title = "${_('%s Files') % c.repo_name}" + " · " + (f_path || '\\') + " · " + "${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); | |
87 | var _url_base = url_base.replace('__REV__',rev); |
|
87 | var _url_base = url_base.replace('__REV__',rev); |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s Files Add') % c.repo_name} |
|
4 | ${_('%s Files Add') % c.repo_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s Files Delete') % c.repo_name} |
|
4 | ${_('%s Files Delete') % c.repo_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s File Edit') % c.repo_name} |
|
4 | ${_('%s File Edit') % c.repo_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s Followers') % c.repo_name} |
|
5 | ${_('%s Followers') % c.repo_name} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Fork repository %s') % c.repo_name} |
|
5 | ${_('Fork repository %s') % c.repo_name} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('%s Forks') % c.repo_name} |
|
5 | ${_('%s Forks') % c.repo_name} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Dashboard')} |
|
5 | ${_('Dashboard')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 |
@@ -72,7 +72,7 b'' | |||||
72 | <div style="height: 20px"></div> |
|
72 | <div style="height: 20px"></div> | |
73 | % endif |
|
73 | % endif | |
74 | <div id="welcome" style="display:none;text-align:center"> |
|
74 | <div id="welcome" style="display:none;text-align:center"> | |
75 |
<h1><a href="${h.url('home')}">${c. |
|
75 | <h1><a href="${h.url('home')}">${c.site_name} ${c.rhodecode_version}</a></h1> | |
76 | </div> |
|
76 | </div> | |
77 | <%cnt=0%> |
|
77 | <%cnt=0%> | |
78 | <%namespace name="dt" file="/data_table/_dt_elements.html"/> |
|
78 | <%namespace name="dt" file="/data_table/_dt_elements.html"/> |
@@ -2,8 +2,8 b'' | |||||
2 | <%inherit file="/base/base.html"/> |
|
2 | <%inherit file="/base/base.html"/> | |
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Journal')} |
|
4 | ${_('Journal')} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 | <%def name="breadcrumbs()"> |
|
9 | <%def name="breadcrumbs()"> |
@@ -2,12 +2,12 b'' | |||||
2 | <%inherit file="/base/base.html"/> |
|
2 | <%inherit file="/base/base.html"/> | |
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Public Journal')} |
|
4 | ${_('Public Journal')} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 | <%def name="breadcrumbs()"> |
|
9 | <%def name="breadcrumbs()"> | |
10 |
${c. |
|
10 | ${c.site_name} | |
11 | </%def> |
|
11 | </%def> | |
12 | <%def name="page_nav()"> |
|
12 | <%def name="page_nav()"> | |
13 | ${self.menu('journal')} |
|
13 | ${self.menu('journal')} |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Log In')} |
|
5 | ${_('Log In')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
@@ -15,8 +15,8 b'' | |||||
15 | <div class="header"> |
|
15 | <div class="header"> | |
16 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> |
|
16 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> | |
17 | </div> |
|
17 | </div> | |
18 |
%if c. |
|
18 | %if c.site_name: | |
19 |
<div class="branding">- ${c. |
|
19 | <div class="branding">- ${c.site_name}</div> | |
20 | %endif |
|
20 | %endif | |
21 | </div> |
|
21 | </div> | |
22 | </div> |
|
22 | </div> | |
@@ -26,8 +26,8 b'' | |||||
26 | <%include file="/base/flash_msg.html"/> |
|
26 | <%include file="/base/flash_msg.html"/> | |
27 | <!-- login --> |
|
27 | <!-- login --> | |
28 | <div class="title withlogo"> |
|
28 | <div class="title withlogo"> | |
29 |
%if c. |
|
29 | %if c.site_name: | |
30 |
<h5>${_('Log In to %s') % c. |
|
30 | <h5>${_('Log In to %s') % c.site_name}</h5> | |
31 | %else: |
|
31 | %else: | |
32 | <h5>${_('Log In')}</h5> |
|
32 | <h5>${_('Log In')}</h5> | |
33 | %endif |
|
33 | %endif |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Password Reset')} |
|
5 | ${_('Password Reset')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
@@ -15,8 +15,8 b'' | |||||
15 | <div class="header"> |
|
15 | <div class="header"> | |
16 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> |
|
16 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> | |
17 | </div> |
|
17 | </div> | |
18 |
%if c. |
|
18 | %if c.site_name: | |
19 |
<div class="branding">- ${c. |
|
19 | <div class="branding">- ${c.site_name}</div> | |
20 | %endif |
|
20 | %endif | |
21 | </div> |
|
21 | </div> | |
22 | </div> |
|
22 | </div> | |
@@ -25,8 +25,8 b'' | |||||
25 | <div id="register"> |
|
25 | <div id="register"> | |
26 | <%include file="/base/flash_msg.html"/> |
|
26 | <%include file="/base/flash_msg.html"/> | |
27 | <div class="title withlogo"> |
|
27 | <div class="title withlogo"> | |
28 |
%if c. |
|
28 | %if c.site_name: | |
29 |
<h5>${_('Reset your Password to %s') % c. |
|
29 | <h5>${_('Reset your Password to %s') % c.site_name}</h5> | |
30 | %else: |
|
30 | %else: | |
31 | <h5>${_('Reset your Password')}</h5> |
|
31 | <h5>${_('Reset your Password')}</h5> | |
32 | %endif |
|
32 | %endif |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def 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. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s Pull Requests') % c.repo_name} |
|
4 | ${_('%s Pull Requests') % c.repo_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
@@ -3,8 +3,8 b'' | |||||
3 |
|
3 | |||
4 | <%def name="title()"> |
|
4 | <%def name="title()"> | |
5 | ${_('Sign Up')} |
|
5 | ${_('Sign Up')} | |
6 |
%if c. |
|
6 | %if c.site_name: | |
7 |
· ${c. |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 | <div id="header"> |
|
10 | <div id="header"> | |
@@ -13,8 +13,8 b'' | |||||
13 | <div class="header"> |
|
13 | <div class="header"> | |
14 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> |
|
14 | <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> | |
15 | </div> |
|
15 | </div> | |
16 |
%if c. |
|
16 | %if c.site_name: | |
17 |
<div class="branding">- ${c. |
|
17 | <div class="branding">- ${c.site_name}</div> | |
18 | %endif |
|
18 | %endif | |
19 | </div> |
|
19 | </div> | |
20 | </div> |
|
20 | </div> | |
@@ -24,8 +24,8 b'' | |||||
24 | <div id="register"> |
|
24 | <div id="register"> | |
25 | <%include file="/base/flash_msg.html"/> |
|
25 | <%include file="/base/flash_msg.html"/> | |
26 | <div class="title withlogo"> |
|
26 | <div class="title withlogo"> | |
27 |
%if c. |
|
27 | %if c.site_name: | |
28 |
<h5>${_('Sign Up to %s') % c. |
|
28 | <h5>${_('Sign Up to %s') % c.site_name}</h5> | |
29 | %else: |
|
29 | %else: | |
30 | <h5>${_('Sign Up')}</h5> |
|
30 | <h5>${_('Sign Up')}</h5> | |
31 | %endif |
|
31 | %endif |
@@ -7,8 +7,8 b'' | |||||
7 | %else: |
|
7 | %else: | |
8 | ${_('Search in all repositories')} |
|
8 | ${_('Search in all repositories')} | |
9 | %endif |
|
9 | %endif | |
10 |
%if c. |
|
10 | %if c.site_name: | |
11 |
· ${c. |
|
11 | · ${c.site_name} | |
12 | %endif |
|
12 | %endif | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 |
@@ -2,8 +2,8 b'' | |||||
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('%s Statistics') % c.repo_name} |
|
4 | ${_('%s Statistics') % c.repo_name} | |
5 |
%if c. |
|
5 | %if c.site_name: | |
6 |
· ${c. |
|
6 | · ${c.site_name} | |
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 |
General Comments 0
You need to be logged in to leave comments.
Login now