Use partials instead of simple switch case:
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7617#note_18745137
Showing
Please register or sign in to comment
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7617#note_18745137