Bugzilla – Attachment 84947 Details for
Bug 21335
Remove redundant includes of right-to-left.css
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21335: Remove redundant includes of right-to-left.css
Bug-21335-Remove-redundant-includes-of-right-to-le.patch (text/plain), 5.08 KB, created by
Katrin Fischer
on 2019-02-10 12:43:39 UTC
(
hide
)
Description:
Bug 21335: Remove redundant includes of right-to-left.css
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-02-10 12:43:39 UTC
Size:
5.08 KB
patch
obsolete
>From 2363614b30296a42613c3aa69dd6addf804f8bcf Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 6 Feb 2019 04:31:28 +0000 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt | 3 --- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 3 --- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 3 --- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt | 3 --- > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt | 3 --- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 3 --- > 6 files changed, 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >index b0856b9db7..2a626c01ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >@@ -168,9 +168,6 @@ function confirmnotdup(redirect){ > }); > </script> > >-[% IF ( bidi ) %] >- [% Asset.css("css/right-to-left.css") | $raw %] >-[% END %] > </head> > <body id="auth_authorities" class="auth"> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 41326ab235..de2429b8ff 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -405,9 +405,6 @@ function Changefwk() { > }); > </script> > >-[% IF ( bidi ) %] >- [% Asset.css("css/right-to-left.css") | $raw %] >-[% END %] > </head> > <body id="cat_addbiblio" class="cat"> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 4aaf0f7c0a..af6926569e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -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' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt >index c80943d587..21fd4dad80 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt >@@ -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"> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >index eb5b9f306b..f4898fcb6d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >@@ -4,9 +4,6 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Tools › 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' %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index d8a93cbba9..ed54b3ac9b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -32,9 +32,6 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Details for: [% title | html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield | html %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] >-[% IF ( bidi ) %] >- [% BLOCK cssinclude %][% Asset.css("css/right-to-left.css") | $raw %][% END %] >-[% END %] > [% IF ( OpacStarRatings != 'disable' ) %] > [% BLOCK cssinclude %][% Asset.css("css/jquery.rating.css") | $raw %][% END %] > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21335
:
84947
|
85184
|
85187
|
85328