[open-ils-commits] [GIT] Evergreen ILS branch master updated. b9ababa5f146beaa39326a34e081a1d26c9c2351

Evergreen Git git at git.evergreen-ils.org
Fri Feb 20 17:25:50 EST 2015


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, master has been updated
       via  b9ababa5f146beaa39326a34e081a1d26c9c2351 (commit)
       via  33a682da638a1e42b8a5ff9f966b21f434ebaeda (commit)
      from  2135221774fc98edb2378bc929c763236bf1939c (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 b9ababa5f146beaa39326a34e081a1d26c9c2351
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Thu Feb 19 10:36:11 2015 -0500

    LP#1413721: Adding release notes entry for styling on SMS screen
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/text-call-number-styling.txt b/docs/RELEASE_NOTES_NEXT/OPAC/text-call-number-styling.txt
new file mode 100644
index 0000000..f67f219
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/text-call-number-styling.txt
@@ -0,0 +1,6 @@
+Improved styling on Text call number screen
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+New styling on the _Text call number_ screen has added highlighting to the
+displayed message, makes the font consistent with other text on the screen, and
+displays better on mobile devices.
+

commit 33a682da638a1e42b8a5ff9f966b21f434ebaeda
Author: Christine Morgan <cmorgan at noblenet.org>
Date:   Wed Feb 18 16:47:22 2015 -0500

    LP1413721: Styling for sms Text Call Number page
    
    Adds highlighting to call number text and makes font consistent.
    Provides styling for mobile display.
    
    Signed-off-by: Christine Morgan <cmorgan at noblenet.org>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2
index a0cac5d..577ecba 100644
--- a/Open-ILS/src/templates/opac/css/style.css.tt2
+++ b/Open-ILS/src/templates/opac/css/style.css.tt2
@@ -1697,6 +1697,20 @@ a.preflib_change {
     font-size: [% css_fonts.size_bigger %];
 }
 
+/* styling for sms text call number */
+.sms_text pre {
+    font-family: Arial, Helvetica, sans-serif;
+    font-size: [% css_fonts.size_medium %];
+    background: [% css_colors.accent_lightest %];
+    padding: .5%;
+    /* Allow text to wrap */
+    white-space: pre-wrap;       /* css-3 */
+    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
+    white-space: -pre-wrap;      /* Opera 4-6 */
+    white-space: -o-pre-wrap;    /* Opera 7 */
+    word-wrap: break-word;       /* Internet Explorer 5.5+ */
+}
+
 .mobile_view {
    display:none;
 }
diff --git a/Open-ILS/src/templates/opac/parts/css/fonts.tt2 b/Open-ILS/src/templates/opac/parts/css/fonts.tt2
index 556952b..bfc0b0d 100644
--- a/Open-ILS/src/templates/opac/parts/css/fonts.tt2
+++ b/Open-ILS/src/templates/opac/parts/css/fonts.tt2
@@ -4,6 +4,7 @@
         size_small = "92%",
         size_smaller = "83%",
         size_smallest = "75%",
+        size_medium = "95%",
         size_big = "110%",
         size_bigger = "125%",
         size_biggest = "150%"
diff --git a/Open-ILS/src/templates/opac/sms_cn.tt2 b/Open-ILS/src/templates/opac/sms_cn.tt2
index f8db37c..4a7422c 100644
--- a/Open-ILS/src/templates/opac/sms_cn.tt2
+++ b/Open-ILS/src/templates/opac/sms_cn.tt2
@@ -16,14 +16,12 @@
                     [% IF ctx.sms_notify %]
                     <h1>[% l('Your message has been sent!') %]</h1>
                     <a href="[% ctx.origin %]">[% l('Return to record') %]</a>
-                    <pre>[% ctx.event.template_output.data %]</pre>
+                    <div class="sms_text"><pre>[% ctx.event.template_output.data %]</pre></div>
                     [% ELSE %]
                     <h1>[% l('Text call number') %]</h1>
                     <a href="[% ctx.origin %]">[% l('Return to record') %]</a>
-                    <pre>[% ctx.event.template_output.data %]</pre>
-                    <blockquote>
+                    <div class="sms_text"><pre>[% ctx.event.template_output.data %]</pre></div>
                         <form method="post">
-                            <blockquote>
                                 <input type="hidden" name="copy_id" value="[% ctx.copy_id %]"/>
                                 <input type="hidden" name="origin" value="[% ctx.origin %]"/>
                                 [% INCLUDE "opac/parts/sms_carrier_selector.tt2" sms_carrier_hide_warning="true" %]<br/>
@@ -35,9 +33,7 @@
                                     alt="[% l('Submit') %]"
                                     class="opac-button" />
                                 <br/>[% l('Note: carrier charges may apply'); %]
-                            </blockquote>
                         </form>
-                    </blockquote>
                     [% END %]
                     [% ELSE %]
                     <span>[% l('SMS not enabled for this site.') %]</span>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/css/style.css.tt2      |   14 ++++++++++++++
 Open-ILS/src/templates/opac/parts/css/fonts.tt2    |    1 +
 Open-ILS/src/templates/opac/sms_cn.tt2             |    8 ++------
 .../OPAC/text-call-number-styling.txt              |    6 ++++++
 4 files changed, 23 insertions(+), 6 deletions(-)
 create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/text-call-number-styling.txt


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list