Bugzilla – Attachment 47416 Details for
Bug 15699
Opac: Course reserves instructors should be in form "Surname, Firstname" for sorting purposes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15699 - Course reserves instructors should be in form "Surname, Firstname" for sorting purposes
Bug-15699---Course-reserves-instructors-should-be-.patch (text/plain), 1.81 KB, created by
Nick Clemens
on 2016-01-28 22:06:28 UTC
(
hide
)
Description:
Bug 15699 - Course reserves instructors should be in form "Surname, Firstname" for sorting purposes
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2016-01-28 22:06:28 UTC
Size:
1.81 KB
patch
obsolete
>From fd9493013528d9d7def987d64980a59efb20ee76 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 28 Jan 2016 21:58:37 +0000 >Subject: [PATCH] Bug 15699 - Course reserves instructors should be in form > "Surname, Firstname" for sorting purposes > >This patch changes the order of the name fields and adds a span class around >each in case of library wanting to customize further > >To test: >1 - Enable course reserves >2 - Add some courses with instrcutors >3 - Note they are of form "Firstname Surname" >4 - Apply patch >5 - Note the change >6 - Note span tags >7 - Note you can hide firstname by adding to intranet user js: $(".instr_firstname, instr_separator").hide(); >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >index 3aaa8b9..7c63dcc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >@@ -47,7 +47,7 @@ > <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td> > <td> > [% FOREACH i IN c.instructors %] >- <div class="instructor">[% i.firstname %] [% i.surname %]</div> >+ <div class="instructor"><span class"inst_surname">[% i.surname %]</span><span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname %]</span></div> > [% END %] > </td> > <td>[% c.public_note %]</td> >-- >2.1.4
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 15699
:
47416
|
47423
|
47513
|
47545
|
47546