Function for deleting studies using the web interface

Issue #18 resolved
Ed McDonagh created an issue

No description provided.

Comments (10)

  1. Ed McDonagh reporter

    Added a functioning redirect when delete has occurred. Better to return to filter page we deleted from if this can be passed somehow. Refs #18.

    → <<cset 485dfea94b98>>

  2. Ed McDonagh reporter

    Changed object to exam to harmonise with the variable name already in use in the filter list templates. Added CT related additional information to the delete confirmation template. Now need to add the delete column to the mammo and fluoro templates and generalise the confirmation template. Also still need to find a way of returning to original view. Refs #18.

    → <<cset ccc04fdd7c40>>

  3. Ed McDonagh reporter

    Added if statements to study_confirm_delete to display appropriate data depending on modality, based on what is displayed on the filter list views. Also improved wording of confirmation line. Refs #18.

    → <<cset d977c9888e6f>>

  4. Ed McDonagh reporter

    Added login_required decorator to delete function, and added code to ensure it is only possible to get to the delete confirmation or to actually delete if the user is in the admingroup. Refs #18.

    → <<cset a4c5930c52ef>>

  5. Log in to comment