Bug 8048 - better spacing on categories for attributes

- Convert <h4> to <caption> and adding comfortable padding.
 - Add quotes to attribute for validity
 - Add padding to patron messaging note too since it has
   the same problem.

To test you must have at least one value added to the PA_CLASS
authorised value category. At least one patron attribute must
be categorized using that value.

On the patron edit screen that patron attribute category should
display with comfortable padding.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>

Looks much better!

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Owen Leonard 2012-05-09 12:28:58 -04:00 committed by Paul Poulain
parent e584ba169e
commit db32e098d4
2 changed files with 11 additions and 3 deletions

View File

@ -692,6 +692,14 @@ fieldset.rows ol.radio label.radio {
margin-right : 1em;
}
fieldset.rows caption {
font-size : 120%;
}
fieldset.rows p {
margin : 1em 0 1em 1em;
}
fieldset.rows table {
font-size : 105%;
clear : both;

View File

@ -1384,8 +1384,8 @@
<legend>Additional attributes and identifiers</legend>
[% FOREACH pa_loo IN patron_attributes %]
[% IF pa_loo.class %]
<h4>[% pa_loo.lib %]</h4>
<table id=aai_[% pa_loo.class %] class="attributes_table">
<table id="aai_[% pa_loo.class %]" class="attributes_table">
<caption>[% pa_loo.lib %]</caption>
[% ELSE %]
<table id="aai" class="attributes_table">
[% END %]
@ -1497,7 +1497,7 @@
<input type="hidden" name="setting_messaging_prefs" value="1" />
<legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
[% IF type_only %]
<i>If no preferences are selected, the default preferences for the category chosen will be applied on save, otherwise your selection here is saved</i>
<p>If no preferences are selected, the default preferences for the category chosen will be applied on save, otherwise your selection here is saved</p>
[% END %]
[% INCLUDE 'messaging-preference-form.inc' %]
[% IF ( SMSSendDriver ) %]