[Koha-patches] [PATCH] Bug 8048 - better spacing on categories for attributes
Owen Leonard
oleonard at myacpl.org
Wed May 9 18:33:35 CEST 2012
- 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.
---
.../intranet-tmpl/prog/en/css/staff-global.css | 8 ++++++++
.../prog/en/modules/members/memberentrygen.tt | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
index 68523d7..338b768 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
@@ -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;
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
index bc1f07c..0cb2877 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -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 ) %]
--
1.7.9.5
More information about the Koha-patches
mailing list