From 9ea16bc0e9a9e17ec38102b9b2e666000f9580b7 Mon Sep 17 00:00:00 2001 From: Simon Pouchol Date: Fri, 1 Dec 2017 16:59:38 +0100 Subject: [PATCH] Bug 19729: Adds link elements in HTML to lists pages breadcrumbs in OPAC To match every other page in the OPAC and ease CSS styling, there should be links to current page on last breadcrumbs in lists pages. Test plan: 1-Go to /cgi-bin/koha/opac-shelves.pl 2-Notice that there are no links on the last breadcrumb in every page (my lists, public lists, create list, individual list page) 3-Apply patch 4-Reload page, and notice there are now links, pointing to current page (#) Signed-off-by: Dominic Pichette --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 0791bb6..f288bea 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -41,33 +41,33 @@ [% IF op != 'list' %]
  • Lists
  • [% ELSE %] -
  • Lists
  • +
  • Lists
  • [% END %] [% IF shelf and shelf.is_private %] [% IF op == 'view' OR op == 'edit_form' %]
  • Your lists
  • [% ELSE %] -
  • Your lists
  • +
  • Your lists
  • [% END %] [% ELSIF shelf AND shelf.is_public %] [% IF op == 'view' %]
  • Public lists
  • [% ELSE %] -
  • Public lists
  • +
  • Public lists
  • [% END %] [% END %] [% IF op == 'view' %] -
  • Contents of [% shelf.shelfname | html %]
  • +
  • Contents of [% shelf.shelfname | html %]
  • [% END %] [% IF op == 'add_form' %] -
  • Create new list
  • +
  • Create new list
  • [% END %] [% IF op == 'edit_form' %] -
  • Edit list [% shelf.shelfname | html %]
  • +
  • Edit list [% shelf.shelfname | html %]
  • [% END %] -- 2.7.4