Bug 22882

Summary: ItemType translation modal is not consistent with other modals
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: Staff interfaceAssignee: Owen Leonard <oleonard>
Status: Failed QA --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, katrin.fischer, lucas, oleonard
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 8290, 17835    
Bug Blocks:    
Attachments: Bug 22882: ItemType translation modal is not consistent with other modals

Description Martin Renvoize 2019-05-10 09:46:21 UTC
The translation modal for item type translations isn't consistent with other modals visually.
Comment 1 Owen Leonard 2019-10-04 14:53:20 UTC
Created attachment 93748 [details] [review]
Bug 22882: ItemType translation modal is not consistent with other modals

This patch modifies the itemtypes administration template replacing in
the translation process the Greybox modal with a Bootstrap modal.

To test you should have at least one translation enabled.

 - Apply the patch and go to Administration -> Item types.
 - Edit an existing item type.
 - Click the "Translate into other languages" link by the "Description"
   field.
   - A Bootstrap-styled modal should appear.
   - Test the process of adding and deleting a translation.
   - Test hiding and redisplaying the modal dialog.
Comment 2 Lucas Gass 2019-10-04 16:53:07 UTC
When I delete a translation it works but it also simultaneously displays:

<div class="dialog message">The translation (id *) has been removed successfully</div>

AND 

<div class="dialog alert">An error occurred when deleting this translation</div>


They both disappear after about 3 or 4 seconds. Not sure whats going on here.