Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 698 usermanual & translation fix 01 #704

Merged

Conversation

adityadeshlahre
Copy link
Contributor

@adityadeshlahre adityadeshlahre commented Feb 1, 2024

fixes #698

User Manual is getting rendered on click.

openEfix

fr language fixed

langFR

If any changes required let me know 😄

Thank You !

@adityadeshlahre adityadeshlahre changed the title fix #698 usermanual & translation fix 01 fix 698 usermanual & translation fix 01 Feb 1, 2024
@@ -10592,7 +10592,7 @@ COPY clinlims.menu (id, parent_id, presentation_order, element_id, action_url, c
171 2 10 menu_sample_print_barcode /PrintBarcode.do \N banner.menu.printBarcode banner.menu.printBarcode f t
89 62 40 menu_reports_export \N \N reports.export.byDate tooltip.reports.export.byDate f t
174 2 5 menu_sample_eorder /ElectronicOrders.do \N banner.menu.eorders tooltip.bannner.menu.eorders f t
175 38 1 menu_help_user_manual /documentation/UserManual \N banner.menu.help.usermanual tooltip.bannner.menu.help.usermanual t t
175 38 1 menu_help_user_manual /documentation/OEGlobal_UserManual_en.pdf \N banner.menu.help.usermanual tooltip.bannner.menu.help.usermanual t t
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You dont need to change the init SQL directly . you can do this via liquibase

@@ -13,7 +13,7 @@
<sqlCheck expectedResult="0">SELECT count(*) FROM clinlims.menu WHERE element_id = 'menu_help_user_manual' AND action_url = '/docs/UserManual'</sqlCheck>
</preConditions>
<update schemaName="clinlims" tableName="menu">
<column name="action_url" value="/docs/UserManual" />
<column name="action_url" value="/documentation/OEGlobal_UserManual_en.pdf" />

This comment was marked as resolved.

@mozzy11
Copy link
Collaborator

mozzy11 commented Feb 1, 2024

Thanks @adityadeshlahre for working on this.
added a few comments

@mozzy11
Copy link
Collaborator

mozzy11 commented Feb 5, 2024

Thanks @adityadeshlahre .
The problem with doing the Liquibase changeset is that it hardcodes the a specific document to display , yet in the controller, a given document was supposed to be dynamically rendered depending on the Locale

I made a quick fix in the controller

@mozzy11
Copy link
Collaborator

mozzy11 commented Feb 5, 2024

@adityadeshlahre , get rid of the liquibase changes and i just merge the translation fixes

@adityadeshlahre
Copy link
Contributor Author

adityadeshlahre commented Feb 5, 2024

hey @mozzy11 did the changes request .

Thank You 🙂

@mozzy11 mozzy11 merged commit 5338b61 into I-TECH-UW:develop_3x Feb 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix breaking user manual
2 participants