diff --git a/kallithea/templates/about.html b/kallithea/templates/about.html --- a/kallithea/templates/about.html +++ b/kallithea/templates/about.html @@ -2,9 +2,6 @@ <%inherit file="/base/base.html"/> <%block name="title"> ${_('About')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs()"> ${c.site_name} diff --git a/kallithea/templates/admin/admin.html b/kallithea/templates/admin/admin.html --- a/kallithea/templates/admin/admin.html +++ b/kallithea/templates/admin/admin.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Admin Journal')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/auth/auth_settings.html b/kallithea/templates/admin/auth/auth_settings.html --- a/kallithea/templates/admin/auth/auth_settings.html +++ b/kallithea/templates/admin/auth/auth_settings.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Authentication Settings')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/defaults/defaults.html b/kallithea/templates/admin/defaults/defaults.html --- a/kallithea/templates/admin/defaults/defaults.html +++ b/kallithea/templates/admin/defaults/defaults.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Repository Defaults')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/gists/edit.html b/kallithea/templates/admin/gists/edit.html --- a/kallithea/templates/admin/gists/edit.html +++ b/kallithea/templates/admin/gists/edit.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Edit Gist')} · ${c.gist.gist_access_id} - %if c.site_name: - · ${c.site_name} - %endif %block> <%block name="js_extra"> diff --git a/kallithea/templates/admin/gists/index.html b/kallithea/templates/admin/gists/index.html --- a/kallithea/templates/admin/gists/index.html +++ b/kallithea/templates/admin/gists/index.html @@ -9,9 +9,6 @@ %else: ${_('Public Gists')} %endif - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/gists/new.html b/kallithea/templates/admin/gists/new.html --- a/kallithea/templates/admin/gists/new.html +++ b/kallithea/templates/admin/gists/new.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('New Gist')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%block name="js_extra"> diff --git a/kallithea/templates/admin/gists/show.html b/kallithea/templates/admin/gists/show.html --- a/kallithea/templates/admin/gists/show.html +++ b/kallithea/templates/admin/gists/show.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Gist')} · ${c.gist.gist_access_id} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/my_account/my_account.html b/kallithea/templates/admin/my_account/my_account.html --- a/kallithea/templates/admin/my_account/my_account.html +++ b/kallithea/templates/admin/my_account/my_account.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('My Account')} ${c.authuser.username} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/notifications/notifications.html b/kallithea/templates/admin/notifications/notifications.html --- a/kallithea/templates/admin/notifications/notifications.html +++ b/kallithea/templates/admin/notifications/notifications.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('My Notifications')} ${c.authuser.username} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/notifications/show_notification.html b/kallithea/templates/admin/notifications/show_notification.html --- a/kallithea/templates/admin/notifications/show_notification.html +++ b/kallithea/templates/admin/notifications/show_notification.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Show Notification')} ${c.authuser.username} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/permissions/permissions.html b/kallithea/templates/admin/permissions/permissions.html --- a/kallithea/templates/admin/permissions/permissions.html +++ b/kallithea/templates/admin/permissions/permissions.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Permissions Administration')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repo_groups/repo_group_add.html b/kallithea/templates/admin/repo_groups/repo_group_add.html --- a/kallithea/templates/admin/repo_groups/repo_group_add.html +++ b/kallithea/templates/admin/repo_groups/repo_group_add.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Add Repository Group')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit.html b/kallithea/templates/admin/repo_groups/repo_group_edit.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('%s Repository Group Settings') % c.repo_group.name} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repo_groups/repo_group_show.html b/kallithea/templates/admin/repo_groups/repo_group_show.html --- a/kallithea/templates/admin/repo_groups/repo_group_show.html +++ b/kallithea/templates/admin/repo_groups/repo_group_show.html @@ -2,9 +2,6 @@ <%inherit file="/base/base.html"/> <%block name="title"> ${_('%s Repository group dashboard') % c.group.group_name} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs()"> diff --git a/kallithea/templates/admin/repo_groups/repo_groups.html b/kallithea/templates/admin/repo_groups/repo_groups.html --- a/kallithea/templates/admin/repo_groups/repo_groups.html +++ b/kallithea/templates/admin/repo_groups/repo_groups.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Repository Groups Administration')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repos/repo_add.html b/kallithea/templates/admin/repos/repo_add.html --- a/kallithea/templates/admin/repos/repo_add.html +++ b/kallithea/templates/admin/repos/repo_add.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Add Repository')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repos/repo_creating.html b/kallithea/templates/admin/repos/repo_creating.html --- a/kallithea/templates/admin/repos/repo_creating.html +++ b/kallithea/templates/admin/repos/repo_creating.html @@ -7,9 +7,6 @@ <%block name="title"> ${_('%s Creating Repository') % c.repo_name} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repos/repo_edit.html b/kallithea/templates/admin/repos/repo_edit.html --- a/kallithea/templates/admin/repos/repo_edit.html +++ b/kallithea/templates/admin/repos/repo_edit.html @@ -6,9 +6,6 @@ <%block name="title"> ${_('%s Repository Settings') % c.repo_info.repo_name} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/repos/repos.html b/kallithea/templates/admin/repos/repos.html --- a/kallithea/templates/admin/repos/repos.html +++ b/kallithea/templates/admin/repos/repos.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Repositories Administration')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/settings/settings.html b/kallithea/templates/admin/settings/settings.html --- a/kallithea/templates/admin/settings/settings.html +++ b/kallithea/templates/admin/settings/settings.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Settings Administration')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/user_groups/user_group_add.html b/kallithea/templates/admin/user_groups/user_group_add.html --- a/kallithea/templates/admin/user_groups/user_group_add.html +++ b/kallithea/templates/admin/user_groups/user_group_add.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Add user group')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} diff --git a/kallithea/templates/admin/user_groups/user_group_edit.html b/kallithea/templates/admin/user_groups/user_group_edit.html --- a/kallithea/templates/admin/user_groups/user_group_edit.html +++ b/kallithea/templates/admin/user_groups/user_group_edit.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('%s user group settings') % c.user_group.users_group_name} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/user_groups/user_groups.html b/kallithea/templates/admin/user_groups/user_groups.html --- a/kallithea/templates/admin/user_groups/user_groups.html +++ b/kallithea/templates/admin/user_groups/user_groups.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('User Groups Administration')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/users/user_add.html b/kallithea/templates/admin/users/user_add.html --- a/kallithea/templates/admin/users/user_add.html +++ b/kallithea/templates/admin/users/user_add.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Add user')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} diff --git a/kallithea/templates/admin/users/user_edit.html b/kallithea/templates/admin/users/user_edit.html --- a/kallithea/templates/admin/users/user_edit.html +++ b/kallithea/templates/admin/users/user_edit.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('%s user settings') % c.user.username} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/admin/users/users.html b/kallithea/templates/admin/users/users.html --- a/kallithea/templates/admin/users/users.html +++ b/kallithea/templates/admin/users/users.html @@ -3,9 +3,6 @@ <%block name="title"> ${_('Users Administration')} - %if c.site_name: - · ${c.site_name} - %endif %block> <%def name="breadcrumbs_links()"> diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -38,6 +38,12 @@ ### MAKO DEFS ### +<%block name="branding_title"> + %if c.site_name: + · ${c.site_name} + %endif +%block> + <%def name="flash_msg()"> <%include file="/base/flash_msg.html"/> %def> diff --git a/kallithea/templates/base/root.html b/kallithea/templates/base/root.html --- a/kallithea/templates/base/root.html +++ b/kallithea/templates/base/root.html @@ -2,7 +2,7 @@
-