Lines 1-6
Link Here
|
1 |
[% USE Branches %] |
1 |
[% USE Branches %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Course reserves › Add items</title> |
3 |
<title>Koha › Course reserves ›[% IF is_edit %] Edit item[% ELSE %]Add items[% END %]</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
</head> |
5 |
</head> |
6 |
|
6 |
|
Lines 9-21
Link Here
|
9 |
[% INCLUDE 'header.inc' %] |
9 |
[% INCLUDE 'header.inc' %] |
10 |
[% INCLUDE 'cat-search.inc' %] |
10 |
[% INCLUDE 'cat-search.inc' %] |
11 |
|
11 |
|
12 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> › Reserve <i><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | html %]">[% biblio.title | html %]</a></i> for <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | html %]">[% course.course_name | html %]</a></i></div> |
12 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a> ›[% IF is_edit %] Edit [% ELSE %] Reserve [% END %]<i><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | html %]">[% biblio.title | html %]</a></i> for <i><a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | html %]">[% course.course_name | html %]</a></i></div> |
13 |
|
13 |
|
14 |
<div class="main container-fluid"> |
14 |
<div class="main container-fluid"> |
15 |
<div class="row"> |
15 |
<div class="row"> |
16 |
<div class="col-md-8 col-md-offset-2"> |
16 |
<div class="col-md-8 col-md-offset-2"> |
17 |
|
17 |
|
18 |
[% IF course_reserve %]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %] |
18 |
[% IF course_reserve && !is_edit%]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %] |
19 |
[% IF course_item %]<div class="dialog message" id="already_on_reserve">Number of courses reserving this item: [% course_item.course_reserves.size | html %]</div>[% END %] |
19 |
[% IF course_item %]<div class="dialog message" id="already_on_reserve">Number of courses reserving this item: [% course_item.course_reserves.size | html %]</div>[% END %] |
20 |
|
20 |
|
21 |
<form method="post" action="/cgi-bin/koha/course_reserves/add_items.pl"> |
21 |
<form method="post" action="/cgi-bin/koha/course_reserves/add_items.pl"> |
Lines 24-30
Link Here
|
24 |
<input type="hidden" name="action" value="add" /> |
24 |
<input type="hidden" name="action" value="add" /> |
25 |
|
25 |
|
26 |
<fieldset class="rows"> |
26 |
<fieldset class="rows"> |
27 |
<legend>Add <i>[% biblio.title | html %]</i> to <i>[% course.course_name | html %]</i></legend> |
27 |
[% IF is_edit || course_reserve %] |
|
|
28 |
<legend>Edit <i>[% biblio.title | html %]</i> in <i>[% course.course_name | html %]</i></legend> |
29 |
[% ELSE %] |
30 |
<legend>Add <i>[% biblio.title | html %]</i> to <i>[% course.course_name | html %]</i></legend> |
31 |
[% END %] |
28 |
<ol> |
32 |
<ol> |
29 |
<li> |
33 |
<li> |
30 |
<span class="label">Barcode:</span> |
34 |
<span class="label">Barcode:</span> |