gitlab-org--gitlab-foss/app/views/errors/access_denied.html.haml
Heinrich Lee Yu 0284917c70 Remove inline JS in links
Changes these to use unobtrusive JS
2019-08-21 05:43:04 +08:00

16 lines
508 B
Text

- message = local_assigns.fetch(:message, nil)
- content_for(:title, 'Access Denied')
= image_tag('illustrations/error-403.svg', alt: '403', lazy: false)
.container
%h3
= s_("403|You don't have the permission to access this page.")
- if message
%p
= message
%p
= s_('403|Please contact your GitLab administrator to get permission.')
.action-container.js-go-back{ hidden: true }
%button{ type: 'button', class: 'btn btn-success' }
= s_('Go Back')
= render "errors/footer"