Bug 10017: Follow up handling with the multi libraries pref active
authorKaram Qubsi <karamqubsi@gmail.com>
Wed, 17 Apr 2013 10:16:00 +0000 (13:16 +0300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 10:39:30 +0000 (06:39 -0400)
This Follow up patch will handle multi libraries pref
when it sets to "add" and enhance the way lists drop down menu appear

 Test plan for all patches ( the first one and  all follow ups )  :
 1- apply the patches ( from the first one and all follow up patches)
 2- use 3.10 po files and update it (for the master) "
    ../misc/translate/ perl translate update ar-Arab "
 3- install Arabic from the updated po files
    "perl translate install ar-Arab "
 4- set opac opacthemes pref to ccsr
 5- set OpacAddMastheadLibraryPulldown pref to add
 6- select the Arabic from the opaclanguages pref
 7- set opaclanguagesdisplay  to allow
 8- go to the opac and choose  arabic
 9- you will see all the directions from right to left
    (as you look at koha on a mirror ;) ))

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work as decribed. No errors.
With all patches applied, we get a pretty RTL interface.
Well done!

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Changes are mostly CSS, one new image and a tiny template change.
Used po files from 3.8 for testing. Looks good!
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css

index 7844607..158a738 100644 (file)
@@ -93,17 +93,35 @@ input#searchsubmit.left {
     padding-left: 0px;
     padding-right: 12px;
 }
-
 form.single-library .input-wrapper {
     margin: 0px 0px 0px 237px;
 }
+form.multi-libraries .input-wrapper
+{
+margin: 0pt 0pt 0pt 416px;
+}
 
-form.single-library #filters .jqTransformSelectWrapper, form.multi-libraries #libraries .jqTransformSelectWrapper {
-    left: 50px;
-    right: auto;
+.jqTransformSelectWrapper{
+float:right;
+margin-right: 5px;
+margin-left: -5px;
+}
+
+
+form.multi-libraries #filters .jqTransformSelectWrapper {
+left:230px;
+right:auto;
+}
+form.single-library  #filters .jqTransformSelectWrapper,
+form.multi-libraries #libraries .jqTransformSelectWrapper {
+left:50px;
+right:auto;
 }
+
+
 form#searchform input[type="submit"] {
     margin-right: 4px;
+    margin-left: 0pt;
     position: absolute;
     left: 10px;
     right: auto;
@@ -174,7 +192,7 @@ div#cartDetails {
     margin-left: -9.5em;
 }
 div#listsmenu {
-    margin-left: -125px;
+    margin-left: -70px;
 }
 ul#menu-left li#listsmenulink a {
     padding: 0px 20px 0px 0px;