Content
View differences
Updated by Jens Ulferts about 6 years ago
### Acceptance criteria
* When the user presses on the "Edit"-icon (pencil) in the non grouped table of a cost report, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the whole page is reloaded (ideally, only the result table is reloaded) to reflect the change.
* When the user presses on the "Delete"- icon (garbage bin) in the non grouped table of a cost report, the time entry is removed via API v3 (after confirmation). After a successful removal, the results table/whole page is reloaded to reflect the change.

* When the user presses on the "Edit"-icon (pencil) in the "spent time" widget, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the widget data is reloaded to reflect the change.
* Remove code for [TimelogController#create, TimelogController#update, TimelogController#destroy](https://github.com/opf/openproject/blob/dev/app/controllers/timelog_controller.rb#L103-L155), remove associated routes, remove specs.

* Inform [rlogiacco](https://github.com/rlogiacco) , author of [https://github.com/opf/openproject/pull/7974](https://github.com/opf/openproject/pull/7974), that logging for other users can be implemented.
### Out of scope
* Work package views (single and list): #32129
* Replacing the functionality behind the icon on the time sheet module as the whole module is removed: #20696
* When the user presses on the "Edit"-icon (pencil) in the non grouped table of a cost report, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the whole page is reloaded (ideally, only the result table is reloaded) to reflect the change.
* When the user presses on the "Delete"- icon (garbage bin) in the non grouped table of a cost report, the time entry is removed via API v3 (after confirmation). After a successful removal, the results table/whole page is reloaded to reflect the change.

* When the user presses on the "Edit"-icon (pencil) in the "spent time" widget, the edit time entry modal is opened (same as editing a time entry from the "My spent time" widget). Upon saving, the widget data is reloaded to reflect the change.
* Remove code for [TimelogController#create, TimelogController#update, TimelogController#destroy](https://github.com/opf/openproject/blob/dev/app/controllers/timelog_controller.rb#L103-L155), remove associated routes, remove specs.

* Inform [rlogiacco](https://github.com/rlogiacco) , author of [https://github.com/opf/openproject/pull/7974](https://github.com/opf/openproject/pull/7974), that logging for other users can be implemented.
### Out of scope
* Work package views (single and list): #32129
* Replacing the functionality behind the icon on the time sheet module as the whole module is removed: #20696