For issue #142 (completed)
The goal of this issue is to render the view of the references to a gloss on ng.html. It starts with a query for references attached to the gloss hash. A button to open up a modal is added. The modal contains a form that allows for attaching references to a gloss. The modal is connected to a function that creates a gloss. Right now, the remove button does not work because that is apart of issue 144. Also changed the css slightly on ng.html because with the addition of new widget, the white background against the white form makes it visually cluttered.
For Issue #143 (completed?)
The goal of issue 143 is to be able to add references to a record (already implemented). There will be edit and delete icons on the reference cards. These icons will edit and delete a reference. Only the add reference and edit functionality is required (the remove is part of issue 144).
A custom html modal was created and all html & js related code was moved to BibliographicCitationModal.js
Edit and Delete buttons added onto reference cards.
Adding reference already works.
Editing functionality added
Remove functionality added
old:
new:
For Issue #144
Right now, the user can click the trash icon to send a delete request with the citation id. The user can delete the citation with 1 click, and this automatically refreshes the DOM. Added appropriate permissions checking & error handling for that.
For issue #142 (completed) The goal of this issue is to render the view of the references to a gloss on ng.html. It starts with a query for references attached to the gloss hash. A button to open up a modal is added. The modal contains a form that allows for attaching references to a gloss. The modal is connected to a function that creates a gloss. Right now, the remove button does not work because that is apart of issue 144. Also changed the css slightly on ng.html because with the addition of new widget, the white background against the white form makes it visually cluttered.
For Issue #143 (completed?) The goal of issue 143 is to be able to add references to a record (already implemented). There will be edit and delete icons on the reference cards. These icons will edit and delete a reference. Only the add reference and edit functionality is required (the remove is part of issue 144).
For Issue #144 Right now, the user can click the trash icon to send a delete request with the citation id. The user can delete the citation with 1 click, and this automatically refreshes the DOM. Added appropriate permissions checking & error handling for that.