Clean-up presentation of "pending deletion" tab on the project list page
Following the proposals in https://gitlab.com/gitlab-org/gitlab/-/issues/381261, #396771 (closed), and #396772 (closed) - we're going to align the experience for restoring a deleted project or group on the list and Admin pages.
To do so, we'll need to align the presentation of the content in the current pending deletion tab on the project list page so that it is consistent with the presentation of the content on those similar pages. This will require the following changes:
This means:
- Moving the "restore" button to the final column in the table (where the "updated" timestamp is)
- Making the Restore link a normal tertiary button
This will look as follows:
Note: the pending deletion badge is being updated as part of !145277 (merged). In this MR, the badge is changing from medium to small, and pending deletion text is being updated to Pending deletion, as shown in the image.
Implementation plan
- Move ee/app/views/shared/projects/_removed.html.haml#L10-14 into a
ee/app/views/shared/projects/_actions.html.hamlpartial - Use
render_if_existsto renderee/app/views/shared/projects/_actions.html.hamlin the correct location inapp/views/shared/projects/_project.html.haml
Edited by Amelia Bauerly

