Environment name in is displayed differently in show environment view than I registered
Summary
If the environment has a name that has more than 1 capital letter (DEV - portal), it is not shown correctly in show env page.
Steps to reproduce
- Create new environment with name DEV
- In list it shown correctly as DEV
- Click on DEV
- The title is now Dev
Expected behavior
I should see the name I entered when I created the environment.
Actual behavior
It shows capitalized variant of the name.
Relevant logs and/or screenshots
Possible fixes
Render the environtment name as is - without capitalization https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/views/projects/environments/show.html.haml#L8
I will gladly make a merge request (it's something), if this is not the intended behaviour.