From 93c31e73cfb91c126de3a9f5fca1a30df514e8ed Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 9 Aug 2012 12:27:57 -0400 Subject: [PATCH] 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
to a

seems to properly align the text. Along the way, we should remove the extra and (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 Signed-off-by: Michael Peters Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 index 82406970a4..a9f77b6849 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 @@

-
- [% l("You are now browsing") %] - [% ctx.browsing_ou.name | html %] -
+

+ [% l("You are now browsing [_1]", ctx.browsing_ou.name) | html %] +

-- 2.11.0