Broken UI on Project Audit Events when it is not available
Summary
Broken UI on Project Audit Events when the feature is not available (e.g., GitLab Core, etc.).
Steps to reproduce
- Prepare an instance with GitLab Core license with the domain name
gitlab.example.com
- Create a group named as 'group1'
- Create a project named as under 'group1'
- Have access to
https://gitlab.example.com/group1/project1/audit_events
Example Project
n/a
What is the current bug behavior?
Promotion is not displayed at center and meaningless information (Project Audit Events
) is shown.
What is the expected correct behavior?
Promotion should be displayed at center and Project Audit Events
should not be shown when the feature is not available.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com (EE 12.3.0-pre, at least, but would be since around %10.0 due to !2540 (merged))
Possible fixes
Fix SCSS and HAML.