]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added messages for login form.
authorRoland Haeder <roland@mxchange.org>
Fri, 11 Sep 2015 15:00:16 +0000 (17:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 11 Sep 2015 15:00:16 +0000 (17:00 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/guest/guest_login_form.tpl

index 97e888d7d623ec2d23791376a56d80dd42b81b30..ab603346aea978ef4284a340ce7c0291451b91a9 100644 (file)
@@ -31,3 +31,5 @@ CATEGORY_MUST_BE_SELECTED=Es muss eine Kategorie ausgewaehlt werden.
 ERROR_AMOUNT_IS_NULL=Die Bestellmenge ist nicht gesetzt.
 BUTTON_TITLE_ADD_ITEM_TO_BASKET=F\u00fcgt das Produkt dem Warenkorb hinzu.
 INPUT_TITLE_ENTER_ITEM_AMOUNT=Geben Sie hier die Bestellmenge ein.
+NO_EMAIL_ADDRESS_ENTERED=Sie haben keine EMail-Adresse eingegeben.
+NO_PASSWORD_ENTERED=Sie haben kein Passwort eingegeben.
index 0b039d7e045798a5182b31bc6997f7003563efe8..b465711a8050305937a213520f009b765cefa8b7 100644 (file)
@@ -29,3 +29,5 @@ CATEGORY_MUST_BE_SELECTED=You have to select a category.
 ERROR_AMOUNT_IS_NULL=Order amount is not set.
 BUTTON_TITLE_ADD_ITEM_TO_BASKET=Adds the product to the basket.
 INPUT_TITLE_ENTER_ITEM_AMOUNT=Enter order amount here.
+NO_EMAIL_ADDRESS_ENTERED=You have entered no email address.
+NO_PASSWORD_ENTERED=You have entered no password.
index a0a719bd697b18190c9c4c64932536531f986552..0f3a6f6065ad9f8a81d379e109ee301116a2aac4 100644 (file)
                                </div>
 
                                <fieldset id="login_data">
-                                       <legend title="Bitte geben Sie Ihre Kundennummer und das dazugehörige Passwort ein.">Bitte Daten eingeben:</legend>
+                                       <legend title="Bitte geben Sie die bei der Anmeldung verwendete EMail-Adresse und das dazugehörige Passwort ein.">Bitte Daten eingeben:</legend>
 
                                        <div class="table_row">
                                                <div class="table_left">
-                                                       <h:outputLabel for="id" value="Kundennummer:" />
+                                                       <h:outputLabel for="id" value="Email-Adresse:" />
                                                </div>
 
                                                <div class="table_right">
-                                                       <h:inputText class="input" id="id" size="10" maxlength="20" />
+                                                       <h:inputText class="input" id="id" size="10" maxlength="20" required="true" requiredMessage="#{msg.NO_EMAIL_ADDRESS_ENTERED}" />
                                                </div>
                                        </div>
 
@@ -31,7 +31,7 @@
                                                </div>
 
                                                <div class="table_right">
-                                                       <h:inputSecret class="input" id="password" size="10" maxlength="255" />
+                                                       <h:inputSecret class="input" id="password" size="10" maxlength="255" required="true" requiredMessage="#{msg.NO_PASSWORD_ENTERED}" />
                                                </div>
                                        </div>