Commit 6b701c40 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Add disclaimer field to login page.

parent e1cf0b9e
......@@ -28,6 +28,7 @@ text.welcome = Welcome to VISPA!
#text.login = Information for Login
#text.registration = Information for Registration
#text.forgot = Information for Forgot password
#text.disclaimer =
# leave the feedback address empty to disable feedback
#feedback.address =
......
......@@ -137,6 +137,7 @@ class RootController(AbstractController):
login_text = vispa.config("web", "text.login", "")
registration_text = vispa.config("web", "text.registration", "")
forgot_text = vispa.config("web", "text.forgot", "")
disclaimer_text = vispa.config("web", "text.disclaimer", "")
use_forgot = vispa.config("web", "forgot.use", False)
return {
"requested_path" : path,
......@@ -144,6 +145,7 @@ class RootController(AbstractController):
"login_text" : login_text,
"registration_text": registration_text,
"forgot_text" : forgot_text,
"disclaimer_text" : disclaimer_text,
"use_forgot" : use_forgot
}
......
......@@ -62,4 +62,13 @@ form {
input[type="checkbox"] {
margin-left: 0px !important;
margin-right: 6px !important;
}
.imprint {
margin-bottom: 20px;
color: #777;
text-align: center;
> hr {
margin-bottom: 15px;
}
}
\ No newline at end of file
......@@ -202,4 +202,11 @@
</div>
</div>
% if disclaimer_text:
<div class="imprint">
<hr />
${disclaimer_text}
</div>
% endif
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment