Bug 8048 - better spacing on categories for attributes
authorOwen Leonard <oleonard@myacpl.org>
Wed, 9 May 2012 16:28:58 +0000 (12:28 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 11 May 2012 09:37:12 +0000 (11:37 +0200)
 - 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>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index 68523d7..338b768 100644 (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;
index bc1f07c..0cb2877 100644 (file)
     <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 %]
     <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 ) %]