Bug 10790: fix misalignment in item type form when noItemTypeImages is off

This patch fixes the odd behavior when noItemTypesImages is set
to 'Don't show'. Just a misplaced </div>

To test:

1) Set syspref noItemTypeImages to 'Don't show'
2) Go to Admininstration > Item types
3) Edit some item type, you will view a display
similar to the attached image
4) Apply the patch
5) Reload the page, now the display is fixed
6) Change syspref to 'Show' to check that
the display is also good

Also fixed a missing '/' on a closing select

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Bernardo Gonzalez Kriegel 2014-03-19 22:25:07 -03:00 committed by Galen Charlton
parent aa722ab694
commit 04e4fc9751

View file

@ -158,8 +158,8 @@ Item types administration
</ul>
<br class="clear" />
</div>
[% END %]
</div>
[% END %]
<ol>
<li>
<label for="notforloan">Not for loan: </label> [% IF ( notforloan ) %]
@ -191,7 +191,7 @@ Item types administration
[% ELSE %]
<option value="alert">Alert</option>
[% END %]
<select>
</select>
</li>
<li>
<label for="summary">Summary: </label>