Mike-Heneghan / ALISS

ALISS (A Local Information System for Scotland) is a service to help you find help and support close to you when you need it most.
https://aliss.org
0 stars 0 forks source link

If a user has edit permissions then make edit service an option on Service details. #56

Closed Mike-Heneghan closed 5 years ago

Mike-Heneghan commented 5 years ago

As Edit Service to the actions bar for users with permission to edit the service as per organisation edit.

Mike-Heneghan commented 5 years ago

Organisations already have an Edit organisation do the same for services.

Screenshot 2019-03-22 at 17 14 31
Mike-Heneghan commented 5 years ago

If the user is authenticated then need to add a new option to the actions list. An icon with the edit pencil and the "Edit service" which redirects to the "Edit service" view.

Mike-Heneghan commented 5 years ago
Screenshot 2019-03-26 at 11 41 57
Mike-Heneghan commented 5 years ago

As seen above the "Edit service" option has been added as well as "Delete service" in a similar way to the Organisation Detail view.

Is it worthwhile having the "Improve this listing" option for users who are logged in and can edit it directly?

Mike-Heneghan commented 5 years ago

Worthwhile adding test to the service detail view to ensure that only the correctly authenticated user with edit priviledges has the oppotunity edit and delete services.

Mike-Heneghan commented 5 years ago

Merged into master.