2015-04-14 19:41:46 -07:00
|
|
|
- content_for :banner do
|
2015-09-01 22:15:15 -07:00
|
|
|
- image = image_path(@banner_image || '403.jpg')
|
2015-04-14 19:41:46 -07:00
|
|
|
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
|
|
|
- if capable_of(:svg)
|
|
|
|
= render 'application/banner_image.svg', {:image => image}
|
2015-08-04 21:54:04 -07:00
|
|
|
%h1=_(@page_title || 'page_titles.403.Permission_Denied')
|
2014-07-13 11:08:01 -06:00
|
|
|
|
2015-04-14 19:41:46 -07:00
|
|
|
%article
|
|
|
|
- if @template
|
|
|
|
=render @template
|
|
|
|
- else
|
|
|
|
%h2
|
|
|
|
=_'articles.permission_denied.headings.main','Sorry, you currently don\'t have access to this page'
|
|
|
|
%p
|
|
|
|
=_'articles.permission_denied.paragraphs.main', :p
|