Bug 8070: improve MARC preview display for RTL languages
authorD Ruth Bavousett <druthb@gmail.com>
Sun, 20 Oct 2013 17:23:44 +0000 (12:23 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 Oct 2013 16:04:53 +0000 (16:04 +0000)
The Right Answer, according to the cataloger I spoke to,
is to make it LTR when doing "raw" MARC display.

To test:

1) Install this patch, then run misc/translator/translate install ar-Arab
2) search for a bib in the staff client.
3) Switch to Arabic, and click the link to the left of "MARC Preview"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
At first glace I was unsure about hard-coding this style in the
template. Further testing indicated that this is required as the
showmarc template doesn't inherit any of the CSS from the containing
page.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt

index a15fae3..609c392 100644 (file)
@@ -3,7 +3,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 </head>
 <body id="catalog_showmarc" class="catalog">
-<div id="main">
+<div id="main" style="direction: ltr;">
 <pre>[% MARC_FORMATTED %] </pre>
 </div>
 </body>