Delete Event Types

Scott on 8/13/2015 8:49 PM

Scott on 9/13/2015 7:26 PM


0 (hrs)


We need to be able to soft delete event types.

You will need to use this library: https://github.com/stefanocudini/bootstrap-confirm-button

Go to League > Calendar > Settings > Under Event Types.

  1. Create a new button called delete for each event type.
  2. Clicking the button, should have a confirmation "Confirm" in red.
  3. You need to create a new controller method called DeleteEventType
  4. This will be a soft delete.  So the event type will not actually be deleted, but a column will be added to the table of event types.  IsRemoved
  5. You will need to update every query from the Database that pulls eventtypes and add in there, (IsRemoved == false) so that the queries no longer pull in removed event types.
Skip Navigation Links

Scott Wednesday, September 09, 2015 5:50 PM #

Please add a bootstrap Notify Event that is a Success message.

"Event Type Removed" should be the notification.


Scott Monday, August 24, 2015 7:54 PM #

is it completed?


Dharmesh Friday, August 21, 2015 5:16 PM #

I have already done point 2,3 and 4 when I check-in code first time for this issue. 


Scott Thursday, August 20, 2015 9:01 PM #

  1. Please put the js file in the scripts/bootstrap folder instead of creating its own folder.
  2. If loading a calendar event.  The event should be allowed to load the OLD and removed event type.
  3. If creating a new event, you should NOT be able to select removed event types.
  4. If editing an event, you should NOT be able to select removed event types.

Powered by BugNET 1.6.339.0