Skip to content

Hides Close MR button on merged MR

What does this MR do?

When a Merge request is merged, shows only the Report abuse menu item in the dropdown menu instead of showing the close_reopen_report toggle with and unusable Close button.

The Report abuse is still hidden when the author of the Merge request is the current_user.

As discussed here this MR also hides the Reopen button on a closed and locked issue when the issue.author is not the current_user

Screenshot

before:

Screen_Shot_2018-09-20_at_21.28.08

after:

Screen_Shot_2018-09-20_at_21.28.46

What are the relevant issue numbers?

#50161 (closed)

Does this MR meet the acceptance criteria?

Closes #50161 (closed)

Edited by 🙈 jacopo beschi 🙉

Merge request reports