Bugzilla – Attachment 135794 Details for
Bug 30917
Improve course reserves breadcrumbs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30917: Improve course reserves breadcrumbs
Bug-30917-Improve-course-reserves-breadcrumbs.patch (text/plain), 4.97 KB, created by
Owen Leonard
on 2022-06-08 11:31:59 UTC
(
hide
)
Description:
Bug 30917: Improve course reserves breadcrumbs
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-06-08 11:31:59 UTC
Size:
4.97 KB
patch
obsolete
>From 492ea50c8a902102a66bb6df572d42e60463d97e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 7 Jun 2022 11:33:48 +0000 >Subject: [PATCH] Bug 30917: Improve course reserves breadcrumbs > >This patch adds course name to the breadcrumbs and page title on the >pages for adding items to a course. > >To test, apply the patch and go to course reserves. > >- Click a course to view it. >- Click the "Add reserves" button. >- In the breadcrumbs you should see: > > Home > Course reserves > [Course name] > Add reserves > >- [Course name] should link correctly to the course detail view. In the > page title you should see: > > Add reserves > [Course name] > Course reserves > Home > >- Enter a barcode or biblionumber and proceed to the next step. Confirm > that the same changes are in effect on the second page. >- Perform the same tests in the "Batch add reserves" process. >--- > .../prog/en/modules/course_reserves/add_items-step1.tt | 7 +++++-- > .../prog/en/modules/course_reserves/add_items-step2.tt | 7 +++++-- > .../prog/en/modules/course_reserves/batch_add_items.tt | 7 +++++-- > 3 files changed, 15 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >index 89d42663dd..18f41c9442 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >@@ -1,6 +1,6 @@ > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Add items › Course reserves › Koha</title> >+<title>Add reserves › [% course.course_name | html %] › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="courses_add_items_step1" class="course"> >@@ -16,9 +16,12 @@ > <li> > <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> > </li> >+ <li> >+ <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %]</a> >+ </li> > <li> > <a href="#" aria-current="page"> >- Add reserves for <em>[% course.course_name | html %]</em> >+ Add reserves > </a> > </li> > </ol> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >index d9fb79eb53..dc4d9ad1d3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >@@ -1,7 +1,7 @@ > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF is_edit || course_reserve %]Edit item[% ELSE %]Add items[% END %] › Course reserves › Koha</title> >+<title>[% IF is_edit || course_reserve %]Edit reserve[% ELSE %]Add reserves[% END %] › [% course.course_name | html %] › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -18,10 +18,13 @@ > <li> > <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> > </li> >+ <li> >+ <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %]</a> >+ </li> > <li> > <a href="#" aria-current="page"> > [% IF is_edit || course_reserve %] Edit [% ELSE %] Reserve [% END %] >- <em>[% biblio.title | html %]</em> for <em>[% course.course_name | html %]</em> >+ <em>[% biblio.title | html %]</em> > </a> > </li> > </ol> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >index 0acb573fe9..2534b0bc85 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >@@ -5,7 +5,7 @@ > [% SET footerjs = 1 %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>Add items › Course reserves › Koha</title> >+<title>Add reserves › [% course.course_name | html %] › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="courses_add_items_step1" class="course"> >@@ -21,9 +21,12 @@ > <li> > <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> > </li> >+ <li> >+ <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %]</a> >+ </li> > <li> > <a href="#" aria-current="page"> >- Add reserves for <em>[% course.course_name | html %]</em> >+ Add reserves > </a> > </li> > </ol> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30917
:
135753
|
135794
|
135795
|
135915