Browse Source

Bug 26727: Fix <p/> appearing in the templates

The self-closing p is not valid in HTML5:

Error: Self-closing syntax (/>) used on a non-void HTML element.
Ignoring the slash and treating as a start tag.

To test:

1)
- Activate Article requests
- Search for a record to place an article request on in staff
- Look up the patron
- Verify the article request form looks ok
2)
- Search for a list of patrons
- Check 2 patrons and merge them using the button above the list
- Verify the distance between the button and the table looks ok
3)
- Create a new MARC modification template
- Create a new action
- Verify the distances between the first and second line of form
  elements looks ok
4)
- Place a hold in staff
- Click on the Suspend link in the holds table (not below)
- Verify the modal looks ok

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Katrin Fischer 10 months ago
committed by Jonathan Druart
parent
commit
bbf0d21284
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt
  2. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
  3. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt
  4. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt
  5. 2
      koha-tmpl/intranet-tmpl/prog/js/holds.js

2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt

@ -10,7 +10,7 @@
<p>Hi, you are looking at the result of launching the EXAMPLE plugin.</p>
<p>I received this from you:</p>
<input type="text" id="received" value="[% result | html %]" disabled />
<p/>
</p>
<p>I will pass back what you type here, if you press OK.</p>
<input type="text" id="return" value="[% result | html %]" />
<p>

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt

@ -90,7 +90,7 @@
<fieldset class="rows">
<legend>Place article request from [% biblio.title | html %] for [% patron.firstname | html %] [% patron.surname | html %] ( [% patron.cardnumber | html %] )</legend>
<p/>
<p>
<ul>
<li>
<label for="title">Title:</label>

2
koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt

@ -89,7 +89,7 @@
<input type="hidden" name="id" value="[% p.id | html %]" />
[% END %]
<p/>
<br>
<input type="hidden" name="action" value="merge" />
<input id="merge-patrons" type="submit" value="Merge patrons" />

2
koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt

@ -220,7 +220,7 @@
</span>
</span>
<p/>
<br><br>
<select name="conditional" id="conditional" onchange="onConditionalChange(this);">
<option value="" selected="selected" />

2
koha-tmpl/intranet-tmpl/prog/js/holds.js

@ -260,7 +260,7 @@ $(document).ready(function() {
<label for='suspend-modal-until'>" + __("Suspend until:") + "</label>\
<input name='suspend_until' id='suspend-modal-until' class='suspend-until' size='10' />\
\
<p/><a class='btn btn-link' id='suspend-modal-clear-date' >" + __("Clear date to suspend indefinitely") + "</a></p>\
<p><a class='btn btn-link' id='suspend-modal-clear-date' >" + __("Clear date to suspend indefinitely") + "</a></p>\
\
</div>\
\

Loading…
Cancel
Save