From 555990298e5703d727196154893f3213d095cfc9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 28 Aug 2021 15:01:01 +0200 Subject: [PATCH] Bug 28898: (follow-up) Add context to some more occurrences of Term in course reserves Signed-off-by: Katrin Fischer Signed-off-by: Caroline Cyr La Rose Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/course_reserves/course.tt | 5 +++-- .../opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt index 432e60e371..ec9bc19ac7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt @@ -1,3 +1,4 @@ +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF course_name %] Edit [% course_name | html %] [% ELSE %] New course [% END %] › Course reserves › Koha @@ -79,7 +80,7 @@
  • [% IF terms %] - + [% ELSE %] - Term: + [% tp('Semester', 'Term:') | html %] No TERM authorised values found! Please create one or more authorised values with the category TERM. [% END %]
  • diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt index d28fcbd982..234fe1c844 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt @@ -6,6 +6,7 @@ [% USE ItemTypes %] [% USE Branches %] [% USE TablesSettings %] +[% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] Course reserves for [% course.course_name | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] @@ -40,7 +41,7 @@

    Course reserves for [% course.course_name | html %]

      - [% IF ( course.term ) %]
    1. Term: [% AuthorisedValues.GetByCode( 'TERM', course.term, 1 ) | html %]
    2. [% END %] + [% IF ( course.term ) %]
    3. [% tp('Semester', 'Term:') | html %] [% AuthorisedValues.GetByCode( 'TERM', course.term, 1 ) | html %]
    4. [% END %]
    5. Department: [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department, 1 ) | html %]
    6. [% IF ( course.course_number ) %]
    7. Course number: [% course.course_number | html %]
    8. [% END %] [% IF ( course.section ) %]
    9. Section: [% course.section | html %]
    10. [% END %] -- 2.39.5