Hide "email a new issue" on archived issues lists
What does this MR do and why?
This MR hides "email a new issue" link on archived issues lists (#438436 (closed))
You cannot create new issues in archived projects so it does not make sense to show this in the UI
Changelog: fixed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable reply by email in gdk
- Open
config/gitlab.yml
- Update config to
enabled: true
withinincoming_email:
(roughly line 118)
- Open
- Archive a project in a project's settings e.g.
http://127.0.0.1:3000/jashkenas/Underscore/edit
- Visit the issues list and confirm there is no "Email a new issue to this project" link at the bottom of the list e.g.
http://127.0.0.1:3000/jashkenas/Underscore/-/issues
- Visit the merge requests list and confirm there is no "Email a new issue to this project" link at the bottom of the list e.g.
http://127.0.0.1:3000/jashkenas/Underscore/-/merge_requests
Related to #438436 (closed)
Edited by Coung Ngo