From 7a6183763f1dd8cac411076a0086422ae51e2e6e Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Wed, 10 Mar 2021 02:38:52 +0000 Subject: [PATCH] Bug 27846: tools and virtualshelves folders Modified breadcrumbs to be accessible, in particular for a screen-reader. Made the block of breadcrumbs be a
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt index c8d7f7d567..9c3ef615d8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -8,7 +8,18 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt index df25880b04..4da0803b5d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt @@ -13,15 +13,51 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt index 027f66de74..9f0b46d1ca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt @@ -19,21 +19,28 @@ [% END %] [% BLOCK breadcrumbs %] - + [% END %] [% BLOCK form_new %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index 961f3cc08e..945b2ebfb8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -137,14 +137,32 @@ [% END %] [% END %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index 076206554b..b8f363dcb1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -35,28 +35,76 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - + [% IF op != 'list' %] +
  • + Lists +
  • + [% ELSE %] +
  • + + Lists + +
  • + [% END %] + + [% IF shelf AND shelf.is_private %] + [% IF op == 'view' OR op == 'edit_form' %] +
  • + Your lists +
  • + [% ELSE %] +
  • + + Your lists + +
  • + [% END %] + + [% ELSIF shelf AND shelf.is_public %] + [% IF op == 'view' %] +
  • + Public lists +
  • + [% ELSE %] +
  • + + Public lists + +
  • + [% END %] + [% END %] + + [% IF op == 'view' %] +
  • + + Contents of [% shelf.shelfname | html %] + +
  • + [% END %] + + [% IF op == 'add_form' %] +
  • + + Create new list + +
  • + [% END %] + + [% IF op == 'edit_form' %] +
  • + + Edit list [% shelf.shelfname | html %] + +
  • + [% END %] + +