Improved login explanation
Change-Id: Ie94b1d9c9821a339223d3379553c75afb8d8f580
diff --git a/dev/scss/sidebar/sidebar.scss b/dev/scss/sidebar/sidebar.scss
index eb9f4c7..9ac6b5f 100644
--- a/dev/scss/sidebar/sidebar.scss
+++ b/dev/scss/sidebar/sidebar.scss
@@ -150,6 +150,9 @@
padding-right: $button-width
}
+ > p {
+ color: $light-green;
+ }
ul {
display: block;
font-size: 80%;
diff --git a/kalamar.dict b/kalamar.dict
index 5dba5e0..72ae9bf 100644
--- a/kalamar.dict
+++ b/kalamar.dict
@@ -33,6 +33,7 @@
by => 'von',
pwd => 'Passwort',
email => 'Email',
+ userormail => 'Benutzername oder Email',
with => 'mit',
glimpse => {
-short => 'Stichprobe',
@@ -46,6 +47,7 @@
notFound => '404 - Seite nicht gefunden',
jsFile => 'kalamar-<%= $Kalamar::VERSION %>-de.js',
underConstruction => 'In Vorbereitung!',
+ loginExplanation => 'Anmeldung mit einem registrierten Cosmas-II-Konto',
korap => {
-short => 'KorAP',
desc => 'KorAP - Korpusanalyseplattform der nächsten Generation',
@@ -83,6 +85,7 @@
by => 'by',
pwd => 'Password',
email => 'Email',
+ userormail => 'Username or Email',
with => 'with',
pubOn => 'published on',
matchCount => '<%= quant($found, "match", "matches") %>',
@@ -94,6 +97,7 @@
},
faq => 'F.A.Q.',
underConstruction => 'Under Construction!',
+ loginExplanation => 'Login with a registered Cosmas-II account',
tutorial => 'Tutorial',
korap => {
-short => 'KorAP',
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index 5f02f17..469c4ef 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -31,12 +31,13 @@
<fieldset>
%= form_for 'login', begin
<legend><span><%= loc 'login' %></span></legend>
- %= text_field 'handle_or_email', placeholder => loc('email')
+ %= text_field 'handle_or_email', placeholder => loc('userormail')
<div>
%= password_field 'pwd', placeholder => loc('pwd')
<button type="submit"><span><%= loc 'go' %></span></button>
</div>
- % end
+ % end
+ <p><%= loc 'loginExplanation' %></p>
%# <ul>
%# <li><%= link_to loc('register') => 'register' %></li>
%# <li><%= link_to loc('pwdforgotten') => 'pwd_forgotten' %></li>