Koha/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt
Wainui Witika-Park cc2e34468a Bug 27631: authorities, clubs, common, course_reserves folders
Changed each of the pages in the authorities, clubs, common,
course_reserves folders to have one <h1> tag showing that describes
the page, rather than the <h1> describing the logo.

The hierarchy of heading tags may be broken in many pages, but this
will be dealt with in an additional bug.

To test:
1) Go to the Staff Client
2) Apply patch
3) Go to each of the pages in the authorities, clubs, common,
   course_reserves folders and check that they have an obvious and
   descriptive heading
4) Ensure that the heading in the page is <h1>

Sponsored-by: Catalyst IT

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-20 09:03:37 -10:00

88 lines
3.1 KiB
Text

[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Add items &rsaquo; Course reserves &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="courses_add_items_step1" class="course">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
<ol>
<li>
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
</li>
<li>
<a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
</li>
<li>
<a href="#" aria-current="page">
Add reserves for <em>[% course.course_name | html %]</em>
</a>
</li>
</ol>
</nav>
<div class="main container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1>Add reserves for <em>[% course.course_name | html %]</em></h1>
[% IF ERROR_ITEM_NOT_FOUND %]
[% IF UNKNOWN_BARCODE %]
<div class="dialog alert">No item found with barcode [% UNKNOWN_BARCODE | html %]</div>
[% ELSIF UNKNOWN_BIBLIONUMBER %]
<div class="dialog alert">No bibliographic record found with biblionumber [% UNKNOWN_BIBLIONUMBER | html %]</div>
[% ELSE %]
<div class="dialog alert">No item or bibliographic record found</div>
[% END %]
[% END %]
<form method="post" action="/cgi-bin/koha/course_reserves/add_items.pl">
<input type="hidden" name="course_id" value="[% course.course_id | html %]" />
<input type="hidden" name="action" value="lookup" />
<fieldset class="rows">
<legend>Add items: scan barcode</legend>
<ol>
<li>
<label class="required" for="barcode">Item barcode:</label>
<input id="barcode" name="barcode" class="focus" type="text" />
</li>
</ol>
</fieldset>
<fieldset class="rows">
<legend>Or use biblionumber of a bibliographic record</legend>
<ol>
<li>
<label class="required" for="biblionumber">Biblionumber:</label>
<input id="biblionumber" name="biblionumber" type="text" />
</li>
</ol>
</fieldset>
<fieldset class="action">
<input type="submit" value="Submit" class="submit" />
<a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]" class="cancel">Cancel</a>
</fieldset>
</form>
</div>
</div>
[% MACRO jsinclude BLOCK %]
<script>
$(document).ready(function(){
$("input[type='submit']").click(function(e){
if ( $("#biblionumber").val().length > 0 && $("#barcode").val().length > 0 ) {
e.preventDefault();
alert(__("Please enter only a barcode, or only a biblionumber."));
}
});
});
</script>
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]