Registration working until workshops
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
- page_title = _'error.404.page_title.This_Page_Does_Not_Exist'
|
||||
- title page_title
|
||||
- banner_title page_title
|
||||
- content_for :banner do
|
||||
- image = image_url(@banner_image || 'empty-racks.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
%h1=_(@page_title || 'page_titles.404.Page_Not_Found')
|
||||
|
||||
.row
|
||||
%h1
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
%h2=_'articles.permission_denied.headings.confirm_email','Please confirm your email address'
|
||||
= columns(medium: 6, large: 5) do
|
||||
= form_tag :do_confirm do
|
||||
.email-field.input-field
|
||||
= email_field_tag :email, nil, required: true
|
||||
= label_tag :email
|
||||
= hidden_field_tag :token, @confirmation.token
|
||||
= button_tag :login
|
||||
@@ -0,0 +1,5 @@
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
%h2=_'articles.permission_denied.headings.confirmation_sent','Confirmation Sent'
|
||||
= columns(medium: 6) do
|
||||
%p=_'articles.permission_denied.paragraphs.confirmation_sent', :p
|
||||
@@ -0,0 +1,9 @@
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
%h2=_'articles.permission_denied.headings.not_a_translator','Sorry you must be a translator to view this page'
|
||||
= columns(medium: 6) do
|
||||
%p=_'articles.permission_denied.paragraphs.translator_request', :p
|
||||
= columns(medium: 6) do
|
||||
= form_tag :translator_request do
|
||||
= text_area_tag :comment, nil, placeholder: true, required: true
|
||||
= button_tag :translator_request
|
||||
@@ -1,21 +1,11 @@
|
||||
= row do
|
||||
- if current_user
|
||||
= columns(medium: 12) do
|
||||
%h2=_'articles.permission_denied.headings.not_a_translator','Sorry you must be a translator to view this page'
|
||||
= columns(medium: 6) do
|
||||
%p=_'articles.permission_denied.paragraphs.translator_request', :p
|
||||
= columns(medium: 6) do
|
||||
= form_tag :translator_request do
|
||||
=text_area_tag :comment, nil, placeholder: true
|
||||
=button_tag :translator_request
|
||||
- else
|
||||
= columns(medium: 12) do
|
||||
%h2=_'articles.permission_denied.headings.login_required','Sorry you must be logged in to view this page'
|
||||
= columns(medium: 6) do
|
||||
%p=_'articles.permission_denied.paragraphs.translator_not_logged_in', :p
|
||||
= columns(medium: 6) do
|
||||
= form_tag :do_confirm do
|
||||
.email-field
|
||||
=email_field_tag :email, nil, required: true
|
||||
=label_tag :email
|
||||
=button_tag :login
|
||||
= columns(medium: 12) do
|
||||
%h2=_'articles.permission_denied.headings.login_required','Sorry you must be logged in to view this page'
|
||||
= columns(medium: 6, large: 7) do
|
||||
%p=_'articles.permission_denied.paragraphs.translator_not_logged_in', :p
|
||||
= columns(medium: 6, large: 5) do
|
||||
= form_tag :do_confirm do
|
||||
.email-field.input-field
|
||||
= email_field_tag :email, nil, required: true
|
||||
= label_tag :email
|
||||
= button_tag :login
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('403.jpg')
|
||||
- image = image_url(@banner_image || '403.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
%h1=_'page_titles.Permission_Denied'
|
||||
%h1=_(@page_title || 'page_titles.403.Permission_Denied')
|
||||
|
||||
%article
|
||||
- if @template
|
||||
|
||||
Reference in New Issue
Block a user