changeset 6872:dd1c939c33b7

templates: drop a few breadcrumbs definitions - they are not used anyway Only the main breadcrumbs definition in base.html is used - it then calls breadcrumbs_links that is used in most page templates.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 14 Sep 2017 02:08:06 +0200
parents 26235543d64d
children fc44c3f7db54
files kallithea/templates/about.html kallithea/templates/admin/repo_groups/repo_group_show.html kallithea/templates/journal/public_journal.html
diffstat 3 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/about.html	Fri Sep 08 04:12:51 2017 +0200
+++ b/kallithea/templates/about.html	Thu Sep 14 02:08:06 2017 +0200
@@ -3,9 +3,6 @@
 <%block name="title">
     ${_('About')}
 </%block>
-<%def name="breadcrumbs()">
-    ${c.site_name}
-</%def>
 <%block name="header_menu">
     ${self.menu('about')}
 </%block>
--- a/kallithea/templates/admin/repo_groups/repo_group_show.html	Fri Sep 08 04:12:51 2017 +0200
+++ b/kallithea/templates/admin/repo_groups/repo_group_show.html	Thu Sep 14 02:08:06 2017 +0200
@@ -4,16 +4,6 @@
     ${_('Repository group %s') % c.group.group_name}
 </%block>
 
-<%def name="breadcrumbs()">
-    <span class="groups_breadcrumbs">
-    ${h.link_to(_('Home'),h.url('/'))}
-    %if c.group.parent_group:
-        &raquo; ${h.link_to(c.group.parent_group.name,h.url('repos_group_home',group_name=c.group.parent_group.group_name))}
-    %endif
-    &raquo; "${c.group.name}" ${_('with')}
-    </span>
-</%def>
-
 <%block name="header_menu">
     ${self.menu('repositories')}
 </%block>
--- a/kallithea/templates/journal/public_journal.html	Fri Sep 08 04:12:51 2017 +0200
+++ b/kallithea/templates/journal/public_journal.html	Thu Sep 14 02:08:06 2017 +0200
@@ -3,9 +3,6 @@
 <%block name="title">
     ${_('Public Journal')}
 </%block>
-<%def name="breadcrumbs()">
-    ${c.site_name}
-</%def>
 <%block name="header_menu">
     ${self.menu('journal')}
 </%block>