[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. eff0427eb257bf01d258391aa9fd3a396cfa285d

Evergreen Git git at git.evergreen-ils.org
Mon Aug 13 10:10:17 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, rel_2_2 has been updated
       via  eff0427eb257bf01d258391aa9fd3a396cfa285d (commit)
      from  6d6bb833d35a39a3b809cd7a48ec4f4c933a09d7 (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 eff0427eb257bf01d258391aa9fd3a396cfa285d
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