summaryrefslogtreecommitdiff
path: root/app/views/errors/access_denied.html.haml
blob: 46931b5932d213a82a7ac7a605cce40b8a3ba351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- 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{ style: 'display: none' }
    %a{ href: 'javascript:history.back()', class: 'btn btn-success' }
      = s_('Go Back')
= render "errors/footer"