[open-ils-commits] [GIT] Evergreen ILS branch rel_3_2 updated. ce68828d9b12a1323d4d6608065f95172bd52bf8
Evergreen Git
git at git.evergreen-ils.org
Thu Sep 26 07:49:24 EDT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_3_2 has been updated
via ce68828d9b12a1323d4d6608065f95172bd52bf8 (commit)
from 7920fa327f9ac52072ea357e6321ad627c2bf3ed (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ce68828d9b12a1323d4d6608065f95172bd52bf8
Author: Terran McCanna <tmccanna at georgialibraries.org>
Date: Mon Sep 16 15:45:52 2019 -0400
LP#1843637 MARC View Display Issues
This fixes vertical alignment issues in the MARC View table
by removing the deprecated valign tags and moving the inline
CSS to the cat.css file. The text within each table cell should
now align to the top for better readability.
Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
diff --git a/Open-ILS/src/templates/staff/css/cat.css.tt2 b/Open-ILS/src/templates/staff/css/cat.css.tt2
index c27f504270..8995de45db 100644
--- a/Open-ILS/src/templates/staff/css/cat.css.tt2
+++ b/Open-ILS/src/templates/staff/css/cat.css.tt2
@@ -191,6 +191,28 @@ grid[name="-none-"] * label { color: black; }
word-break: break-word;
}
+.marc_tag_col {
+ text-align: right;
+ vertical-align: top;
+}
+
+.marc_tag_ind1 {
+ vertical-align: top;
+ padding-left: 3px;
+ padding-right: 3px;
+}
+
+.marc_tag_ind2 {
+ vertical-align: top;
+ border-left: 1px solid #A0A0A0;
+ padding-left: 3px;
+}
+
+.marc_subfields {
+ vertical-align: top;
+ padding-left: 3px;
+}
+
/*
* Holdings Editor Styles
* /
diff --git a/Open-ILS/xsl/oilsMARC21slim2HTML.xsl b/Open-ILS/xsl/oilsMARC21slim2HTML.xsl
index 76bffcbc9d..373d0100fd 100644
--- a/Open-ILS/xsl/oilsMARC21slim2HTML.xsl
+++ b/Open-ILS/xsl/oilsMARC21slim2HTML.xsl
@@ -36,7 +36,7 @@
<xsl:template match="marc:record">
<table class='marc_table'>
<tr class='marc_tag_row'>
- <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
+ <th class='marc_tag_col' NOWRAP="TRUE">
LDR
</th>
<td class='marc_tag_data' COLSPAN='3'>
@@ -49,7 +49,7 @@
<xsl:template match="marc:controlfield">
<tr class='marc_tag_row'>
- <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
+ <th class='marc_tag_col' NOWRAP="TRUE">
<xsl:value-of select="@tag"/>
</th>
<td class='marc_tag_data' COLSPAN='3'>
@@ -60,16 +60,15 @@
<xsl:template match="marc:datafield">
<tr class='marc_tag_row'>
- <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
+ <th class='marc_tag_col' NOWRAP="TRUE">
<xsl:value-of select="@tag"/>
</th>
- <td class='marc_tag_ind'>
+ <td class='marc_tag_ind1'>
<xsl:value-of select="@ind1"/>
</td>
- <td class='marc_tag_ind' style='border-left: 1px solid #A0A0A0; padding-left: 3px;'>
+ <td class='marc_tag_ind2'>
<xsl:value-of select="@ind2"/>
- <span style='color:#FFF'>.</span>
</td>
<td class='marc_subfields'>
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/staff/css/cat.css.tt2 | 22 ++++++++++++++++++++++
Open-ILS/xsl/oilsMARC21slim2HTML.xsl | 11 +++++------
2 files changed, 27 insertions(+), 6 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list