Bug 27631: (follow-up) tools/marc_modification_templates.tt

Changed file to have one <h1> tag showing that describes the page,
rather than the <h1> around the logo.

The hierarchy of other heading tags may be wrong, but this will be
dealt with in an additional bug.

To test:
1) Go to the Staff Client
2) Apply patch
3) Go to tools/marc_modification_templates and check that it has an
   obvious and descriptive heading
4) Ensure that the heading 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>
This commit is contained in:
Wainui Witika-Park 2021-05-28 03:33:22 +00:00 committed by Fridolin Somers
parent 0c97d5a0a4
commit 0ff4531b88

View file

@ -82,7 +82,7 @@
[% IF ( template_id == '' ) %]
<h2>MARC modification templates [% template_id | html %]</h2>
<h1>MARC modification templates [% template_id | html %]</h1>
<table id="templatest">
<thead>
@ -109,7 +109,7 @@
[% ELSE %]
<h2>Actions for <em>[% template_name | html %]</em></h2>
<h1>Actions for <em>[% template_name | html %]</em></h1>
[% IF ( ActionsLoop ) %]
@ -309,7 +309,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="LabelcreateTemplate">Create a new template</h3>
<h2 id="LabelcreateTemplate">Create a new template</h2>
</div>
<form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" class="validated">
<div class="modal-body">