View | Details | Raw Unified | Return to bug 35978
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt (-1 / +1 lines)
Lines 22-28 Link Here
22
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
22
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
23
        [% END %]
23
        [% END %]
24
        [% WRAPPER breadcrumb_item %]
24
        [% WRAPPER breadcrumb_item %]
25
            <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %]</a>
25
            <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</a>
26
        [% END %]
26
        [% END %]
27
        [% WRAPPER breadcrumb_item bc_active= 1 %]
27
        [% WRAPPER breadcrumb_item bc_active= 1 %]
28
            <span>Add reserves</span>
28
            <span>Add reserves</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt (-3 / +3 lines)
Lines 29-35 Link Here
29
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
29
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
30
        [% END %]
30
        [% END %]
31
        [% WRAPPER breadcrumb_item %]
31
        [% WRAPPER breadcrumb_item %]
32
            <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %]</a>
32
            <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</a>
33
        [% END %]
33
        [% END %]
34
        [% WRAPPER breadcrumb_item bc_active= 1 %]
34
        [% WRAPPER breadcrumb_item bc_active= 1 %]
35
            [% IF is_edit || course_reserve %]
35
            [% IF is_edit || course_reserve %]
Lines 69-77 Link Here
69
69
70
            <fieldset class="rows">
70
            <fieldset class="rows">
71
                [% IF is_edit || course_reserve %]
71
                [% IF is_edit || course_reserve %]
72
                    <legend>Edit <em>[% biblio.title | html %]</em> in <em>[% course.course_name | html %]</em></legend>
72
                    <legend>Edit <em>[% biblio.title | html %]</em> in <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></legend>
73
                [% ELSE %]
73
                [% ELSE %]
74
                    <legend>Add <em>[% biblio.title | html %]</em> to <em>[% course.course_name | html %]</em></legend>
74
                    <legend>Add <em>[% biblio.title | html %]</em> to <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></legend>
75
                [% END %]
75
                [% END %]
76
                <ol>
76
                <ol>
77
                    <li>
77
                    <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt (-1 / +1 lines)
Lines 26-32 Link Here
26
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
26
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
27
        [% END %]
27
        [% END %]
28
        [% WRAPPER breadcrumb_item %]
28
        [% WRAPPER breadcrumb_item %]
29
            <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %]</a>
29
            <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]">[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</a>
30
        [% END %]
30
        [% END %]
31
        [% WRAPPER breadcrumb_item bc_active= 1 %]
31
        [% WRAPPER breadcrumb_item bc_active= 1 %]
32
            <span>Add reserves</span>
32
            <span>Add reserves</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-2 / +2 lines)
Lines 9-15 Link Here
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
<title>[% FILTER collapse %]
11
<title>[% FILTER collapse %]
12
    [% tx("Course details for {course_name}", { course_name = course.course_name }) | html %] &rsaquo;
12
    [% tx("Course details for {course_name}", { course_name = course.course_name }) | html %][%- IF course.section -%] - [% course.section | html %][%- END -%] &rsaquo;
13
    [% t("Course reserves") | html %] &rsaquo;
13
    [% t("Course reserves") | html %] &rsaquo;
14
    [% t("Koha") | html %]
14
    [% t("Koha") | html %]
15
[% END %]</title>
15
[% END %]</title>
Lines 42-48 Link Here
42
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
42
            <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
43
        [% END %]
43
        [% END %]
44
        [% WRAPPER breadcrumb_item bc_active= 1 %]
44
        [% WRAPPER breadcrumb_item bc_active= 1 %]
45
            <span>Course details for [% course.course_name | html | $HtmlTags tag="em" %]</span>
45
            <span>Course details for [% course.course_name | html | $HtmlTags tag="em" %][%- IF course.section -%] - [% course.section | html | $HtmlTags tag="em" %][%- END -%]</span>
46
        [% END %]
46
        [% END %]
47
    [% END #/ WRAPPER breadcrumbs %]
47
    [% END #/ WRAPPER breadcrumbs %]
48
[% END #/ WRAPPER sub-header.inc %]
48
[% END #/ WRAPPER sub-header.inc %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt (-1 / +1 lines)
Lines 64-70 Link Here
64
                            <tbody>
64
                            <tbody>
65
                                [% FOREACH c IN courses %]
65
                                [% FOREACH c IN courses %]
66
                                    <tr>
66
                                    <tr>
67
                                        <td><a href="course-details.pl?course_id=[% c.course_id | uri %]">[% c.course_name | html %]</a></td>
67
                                        <td><a href="course-details.pl?course_id=[% c.course_id | uri %]">[% c.course_name | html %][%- IF c.section -%] - [% c.section | html %][%- END -%]</a></td>
68
                                        <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department ) | html %]</td>
68
                                        <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department ) | html %]</td>
69
                                        <td>[% c.course_number | html %]</td>
69
                                        <td>[% c.course_number | html %]</td>
70
                                        <td>[% c.section | html %]</td>
70
                                        <td>[% c.section | html %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt (-2 / +2 lines)
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% FILTER collapse %]
6
<title>[% FILTER collapse %]
7
    [% IF ( course_name ) %]
7
    [% IF ( course_name ) %]
8
        [% tx("Edit {course_name}", { course_name = course_name }) | html %]
8
        [% tx("Edit {course_name}", { course_name = course_name }) | html %][% IF course.section %] - [% course.section | html %][% END %]
9
    [% ELSE %]
9
    [% ELSE %]
10
        [% t("New course") | html %]
10
        [% t("New course") | html %]
11
    [% END %] &rsaquo;
11
    [% END %] &rsaquo;
Lines 36-42 Link Here
36
        [% END %]
36
        [% END %]
37
        [% WRAPPER breadcrumb_item bc_active= 1 %]
37
        [% WRAPPER breadcrumb_item bc_active= 1 %]
38
            [% IF course_name %]
38
            [% IF course_name %]
39
                <span>Edit [% course_name | html | $HtmlTags tag="em" %]</span>
39
                <span>Edit [% course_name | html | $HtmlTags tag="em" %][%- IF course.section -%] - [% course.section | html | $HtmlTags tag="em" %][%- END -%]</span>
40
            [% ELSE %]
40
            [% ELSE %]
41
                <span>New course</span>
41
                <span>New course</span>
42
            [% END %]
42
            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-3 / +3 lines)
Lines 8-14 Link Here
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% PROCESS 'i18n.inc' %]
9
[% PROCESS 'i18n.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Course reserves for [% course.course_name | html %] &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
11
<title>Course reserves for [% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%] &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% BLOCK cssinclude %]
13
[% BLOCK cssinclude %]
14
    [% Asset.css("css/datatables.css") | $raw %]
14
    [% Asset.css("css/datatables.css") | $raw %]
Lines 24-30 Link Here
24
            <a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a>
24
            <a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a>
25
        [% END %]
25
        [% END %]
26
        [% WRAPPER breadcrumb_item bc_active= 1 %]
26
        [% WRAPPER breadcrumb_item bc_active= 1 %]
27
            <span>Course reserves for &nbsp;<em>[% course.course_name | html %]</em></span>
27
            <span>Course reserves for &nbsp;<em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></span>
28
        [% END %]
28
        [% END %]
29
    [% END #/ WRAPPER breadcrumbs %]
29
    [% END #/ WRAPPER breadcrumbs %]
30
30
Lines 33-39 Link Here
33
            <div class="col">
33
            <div class="col">
34
                <div id="course_reserves" class="maincontent">
34
                <div id="course_reserves" class="maincontent">
35
35
36
                    <h1>Course reserves for <em>[% course.course_name | html %]</em></h1>
36
                    <h1>Course reserves for <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></h1>
37
                    <div class="rows">
37
                    <div class="rows">
38
                        <ol>
38
                        <ol>
39
                            [% IF ( course.term ) %]<li><span class="label">[% tp('Semester', 'Term:') | html %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term, 1 ) | html %]</li>[% END %]
39
                            [% IF ( course.term ) %]<li><span class="label">[% tp('Semester', 'Term:') | html %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term, 1 ) | html %]</li>[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt (-2 / +1 lines)
Lines 47-53 Link Here
47
                        <tbody>
47
                        <tbody>
48
                            [% FOREACH c IN courses %]
48
                            [% FOREACH c IN courses %]
49
                                <tr>
49
                                <tr>
50
                                    <td><a href="opac-course-details.pl?course_id=[% c.course_id | uri %]">[% c.course_name | html %]</a></td>
50
                                    <td><a href="opac-course-details.pl?course_id=[% c.course_id | uri %]">[% c.course_name | html %][%- IF c.section -%] - [% c.section | html %][%- END -%]</a></td>
51
                                    <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department, 1 ) | html %]</td>
51
                                    <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department, 1 ) | html %]</td>
52
                                    <td>[% c.course_number | html %]</td>
52
                                    <td>[% c.course_number | html %]</td>
53
                                    <td>[% c.section | html %]</td>
53
                                    <td>[% c.section | html %]</td>
54
- 

Return to bug 35978