Bug 21335: Remove redundant includes of right-to-left.css

Fixes redundant includes of the right-to-left.css file.
There is no need to include it in the .tt files as it's part
of the doc-head-close.inc.

Note:
  Make sure your *BaseURL preferences are correctly set as
  this will make the switching between languages work
  correctly and throw you back to the start page otherwise
  every time you switch

Test:
- Install an RTL language like Arabic (ar-Arab)
- Test various pages with English and RTL language:
  - Authorities home page
  - Adding a new bibliographic record
  - Adding a new item or editing items
  - Advanced cataloguing (Rancor) editor
  - Labels start page
  - OPAC detail page
- Verify display is correct and right-to-left.css is available

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit cdd14f05ae)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2019-02-06 04:31:28 +00:00 committed by Martin Renvoize
parent 684a1e7dc0
commit b5875c5f9c
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
5 changed files with 0 additions and 15 deletions

View File

@ -163,9 +163,6 @@ function confirmnotdup(redirect){
});
</script>
[% IF ( bidi ) %]
[% Asset.css("css/right-to-left.css") | $raw %]
[% END %]
</head>
<body id="auth_authorities" class="auth">

View File

@ -400,9 +400,6 @@ function Changefwk() {
});
</script>
[% IF ( bidi ) %]
[% Asset.css("css/right-to-left.css") | $raw %]
[% END %]
</head>
<body id="cat_addbiblio" class="cat">

View File

@ -140,9 +140,6 @@ function confirm_deletion() {
});
</script>
[% IF ( bidi ) %]
[% Asset.css("css/right-to-left.css") | $raw %]
[% END %]
</head>
<body id="cat_additem" class="cat">
[% INCLUDE 'header.inc' %]

View File

@ -9,9 +9,6 @@
[% Asset.css("css/humanmsg.css") | $raw %]
[% Asset.js("js/cataloging.js") | $raw %]
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
[% IF ( bidi ) %]
[% Asset.css("css/right-to-left.css") | $raw %]
[% END %]
</head>
<body id="cat_addbiblio" class="cat">

View File

@ -4,9 +4,6 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Tools &rsaquo; Label creator</title>
[% INCLUDE 'doc-head-close.inc' %]
[% IF ( bidi ) %]
[% Asset.css("css/right-to-left.css") | $raw %]
[% END %]
</head>
<body id="labels_label-home" class="tools labels">
[% INCLUDE 'header.inc' %]