gitlab-org--gitlab-foss/app/views/errors/access_denied.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
515 B
Text
Raw Normal View History

- message = local_assigns.fetch(:message, nil)
2016-11-29 13:44:07 -05:00
- content_for(:title, 'Access Denied')
2018-05-31 17:28:19 -04:00
= image_tag('illustrations/error-403.svg', alt: '403', lazy: false)
2016-11-29 13:44:07 -05:00
.container
2018-05-31 17:28:19 -04:00
%h3
= s_("403|You don't have the permission to access this page.")
- if message
%p
= message
2018-05-31 17:28:19 -04:00
%p
2018-11-19 10:03:58 -05:00
= s_('403|Please contact your GitLab administrator to get permission.')
.action-container.js-go-back{ hidden: true }
= render Pajamas::ButtonComponent.new(variant: :confirm) do
= _('Go Back')
2018-05-31 17:28:19 -04:00
= render "errors/footer"