text for cover page
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
h1 = t('breadcrumbs.application.welcome')
|
||||
h1 = t('.title', application_name: application_name)
|
||||
|
||||
p = Forgery(:lorem_ipsum).words(100)
|
||||
- if current_user.try(:external_user?)
|
||||
p = t('.text_signed_in_as_external_user', application_name: application_name)
|
||||
- elsif current_user.try(:internal_user?)
|
||||
p = t('.text_signed_in_as_internal_user', user_name: current_user.name)
|
||||
- else
|
||||
p == t('.text_signed_out', application_name: application_name, sign_in_path: sign_in_path)
|
||||
|
@ -130,6 +130,11 @@ de:
|
||||
quantity: Verfügbare Container
|
||||
application:
|
||||
not_authorized: Sie Sind nicht berechtigt, diese Aktion auszuführen.
|
||||
welcome:
|
||||
text_signed_in_as_external_user: 'Bitte rufen Sie %{application_name} von einer E-Learning-Plattform auf.'
|
||||
text_signed_in_as_internal_user: 'Schön, Sie zu sehen, %{user_name}!'
|
||||
text_signed_out: 'Wenn Sie ein Lernender sind, rufen Sie %{application_name} bitte von einer E-Learning-Plattform auf. Wenn Sie ein Lehrer sind, <a href="%{sign_in_path}">melden Sie sich bitte an</a>.'
|
||||
title: 'Willkommen bei %{application_name}'
|
||||
breadcrumbs:
|
||||
application:
|
||||
welcome: Startseite
|
||||
|
@ -130,6 +130,11 @@ en:
|
||||
quantity: Available Containers
|
||||
application:
|
||||
not_authorized: You are not authorized to perform this action.
|
||||
welcome:
|
||||
text_signed_in_as_external_user: 'Please access %{application_name} from an e-learning platform.'
|
||||
text_signed_in_as_internal_user: 'Good to see you, %{user_name}!'
|
||||
text_signed_out: 'If you are a learner, please access %{application_name} from an e-learning platform. If you are an instructor, <a href="%{sign_in_path}">please sign in</a>.'
|
||||
title: 'Welcome to %{application_name}'
|
||||
breadcrumbs:
|
||||
application:
|
||||
welcome: Cover Page
|
||||
|
Reference in New Issue
Block a user