[Bug 44135] New: Misaligned fields when labels are too long in course details page
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Bug ID: 44135 Summary: Misaligned fields when labels are too long in course details page Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Course reserves Assignee: koha-bugs@lists.koha-community.org Reporter: hammat.wele@inlibro.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- On the course details page, long labels cause subsequent field to become misaligned. We noticed this issue when using the French translation. For example, the label "Student count" is translated as "Nombre d'étudiants". Due to its length, the label wraps onto two lines, causing the following field ("Status") and its value to become misaligned. To reproduce: 1. Install the French language by running the following commands: - gulp po:update - ./misc/translator/translate update fr-CA - ./misc/translator/translate install fr-CA 2. Enable French in StaffInterfaceLanguages system preference 3. Enable UseCourseReserves the system preference 4. Go to Administration > Authorized values > DEPARTMENT 5. Add a new authorized value for Departement (e.g. MATH) 6. Go to the Course Reserves module and click on New course 7. Select the department, enter the course number, course name and click on save 6. Copy the page url and switch to the French language 7. Go back to the url previously copied URL ==> Statut is misaligned -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |hammat.wele@inlibro.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com, | |philippe.blouin@inlibro.com GIT URL| |blou -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 --- Comment #1 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 211891 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211891&action=edit Bug 44135: Misaligned fields when labels are too long in course details page On the course details page, long labels cause subsequent field to become misaligned. We noticed this issue when using the French translation. For example, the label "Student count" is translated as "Nombre d'étudiants". Due to its length, the label wraps onto two lines, causing the following field ("Status") and its value to become misaligned. To reproduce: 1. Install the French language by running the following commands: - gulp po:update - ./misc/translator/translate update fr-CA - ./misc/translator/translate install fr-CA 2. Enable French in StaffInterfaceLanguages system preference 3. Enable UseCourseReserves the system preference 4. Go to Administration > Authorized values > DEPARTMENT 5. Add a new authorized value for Departement (e.g. MATH) 6. Go to the Course Reserves module and click on New course 7. Select the department, enter the course number, course name and click on save 6. Copy the page url and switch to the french language 7. Go back to the url previously copied URL ==> Statut is misaligned 8. Apply the patch 9. Run ./misc/translator/translate install fr-CA 9. Reload the course details page ==> Statut is correctly aligned -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Michael Mundet <michael.mundet@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.mundet@gmail.com --- Comment #2 from Michael Mundet <michael.mundet@gmail.com> --- Tested on sandbox with fr-CA. Confirmed the misalignment before applying the patch. After applying the patch and reinstalling fr-CA, the "Statut" field is correctly aligned. Works as expected. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Michael Mundet <michael.mundet@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #211891|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 --- Comment #3 from Michael Mundet <michael.mundet@gmail.com> --- Created attachment 211907 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211907&action=edit Bug 44135: Misaligned fields when labels are too long in course details page On the course details page, long labels cause subsequent field to become misaligned. We noticed this issue when using the French translation. For example, the label "Student count" is translated as "Nombre d'étudiants". Due to its length, the label wraps onto two lines, causing the following field ("Status") and its value to become misaligned. To reproduce: 1. Install the French language by running the following commands: - gulp po:update - ./misc/translator/translate update fr-CA - ./misc/translator/translate install fr-CA 2. Enable French in StaffInterfaceLanguages system preference 3. Enable UseCourseReserves the system preference 4. Go to Administration > Authorized values > DEPARTMENT 5. Add a new authorized value for Departement (e.g. MATH) 6. Go to the Course Reserves module and click on New course 7. Select the department, enter the course number, course name and click on save 6. Copy the page url and switch to the french language 7. Go back to the url previously copied URL ==> Statut is misaligned 8. Apply the patch 9. Run ./misc/translator/translate install fr-CA 9. Reload the course details page ==> Statut is correctly aligned Signed-off-by: Michael Mundet <michael.mundet@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44135 Michael Mundet <michael.mundet@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #4 from Michael Mundet <michael.mundet@gmail.com> --- Signed off using a sandbox -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org