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

Evergreen Git git at git.evergreen-ils.org
Mon Aug 13 10:09:12 EDT 2012


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  93c31e73cfb91c126de3a9f5fca1a30df514e8ed (commit)
      from  d34ceebde716799df47e3dd10313ca45cd5c08ad (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 93c31e73cfb91c126de3a9f5fca1a30df514e8ed
Author: Ben Shum <bshum at biblio.org>
Date:   Thu Aug 9 12:27:57 2012 -0400

    TPAC - fix alignment of "You are now browsing..." in shelf browser
    
    The "You are now browsing..." message does not align to the center of the
    page. Changing the <div> to a <p> seems to properly align the text.
    
    Along the way, we should remove the extra <span> and <strong> (the strong
    is redundant with the css being inherited by color_4 class) and make the
    new single line message more i18n-friendly for future translations.
    
    Credit to Michael Peters for noticing the problem and thanks to Dan Scott,
    Lebbeous Fogle-Weekley, and Thomas Berezansky for help via IRC for the
    i18n-bits.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Michael Peters <mrpeters at library.in.gov>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
index 8240697..a9f77b6 100644
--- a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
@@ -5,10 +5,9 @@
 
 <div id='cn_browse' class='cn_browser'>
     <div id='cn_browse_div'> 
-        <div class='color_4'>
-            <span>[% l("You are now browsing") %]</span>
-            <strong>[% ctx.browsing_ou.name | html %]</strong>
-        </div>
+        <p class='color_4'>
+            [% l("You are now browsing [_1]", ctx.browsing_ou.name) | html %]
+        </p>
         <table class='data_grid bookshelf' width='100%'>
             <thead>
                 <tr>

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

Summary of changes:
 .../src/templates/opac/parts/record/cnbrowse.tt2   |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list