Add delete function to export view

Issue #90 resolved
Ed McDonagh created an issue

Refs #19

Comments (9)

  1. Ed McDonagh reporter

    Added the form elements to the exports template, currently using a GET, plan to change this to a POST. Added view url to urls, started to add delete view to ajaxviews. Refs #90.

    → <<cset 9d063f0e3122>>

  2. Ed McDonagh reporter

    Delete of export file and database records now work. TODO: Change to POST, add authorisation, styling and add in some try statements to allow for failure. Refs #90.

    → <<cset dd4545d25ab9>>

  3. Ed McDonagh reporter

    Added login_required decorator to prevent situation where logged in user logs out, then back button is used to get back to the exports page and an non-authorised user could delete exports. Refs #90

    → <<cset 599f8ef6574f>>

  4. Ed McDonagh reporter

    Added exception capture on file delete with success or error message being passed through to be displayed stylised on the exports page of the interface. Refs #90

    → <<cset 4e6a6e22029b>>

  5. Log in to comment