When viewing an issue in an archived project, an incorrect message is shown...

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/50239

When we're viewing an issue from an archived project, we show the message "This issue is locked. Only project members can comment." Even if we're a project member or own the project.

Screen_Shot_2018-09-14_at_1.57.50_PM

It might be better to say something like "This project is currently archived and can not be commented on."

Same for merge requests

Screen_Shot_2018-09-14_at_1.59.54_PM

Assignee Loading
Time tracking Loading