Update condition to visibility collaboration status text, #44642.
What does this MR do?
This merge request fixes #44642 (closed) issue.
Issue description:
After an MR is merged, we still mention "Allows edits from maintainers" in the MR widget while we don't allow maintainers to push to the branch anymore. We should only show that message when the merge request is open.
What are the relevant issue numbers?
Button «Allows edits from maintainers» was renamed to «Allows commits from members who can merge to the target branch» by #42751 (closed).
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process.
Edited by Harry Kiselev