]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Continued a bit: (cherry-pick)
authorRoland Häder <roland@mxchange.org>
Fri, 5 Aug 2016 15:56:09 +0000 (17:56 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 6 Aug 2016 20:04:15 +0000 (22:04 +0200)
- added styleClass="errors"
- added missing i18n strings

src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/admin/user/admin_user_unlock.xhtml

index f83c6e5e8f4e0ed73a39db44f0c691e0acb356ed..2d9147f3080e9fc516c2a9c88a2844b652592639 100644 (file)
@@ -597,3 +597,6 @@ ERROR_CANNOT_UN_LOCK_USER_ACCOUNT_UNCONFIRMED=Fehler: Kann das Benutzerkonto nic
 ADMIN_USER_UNLOCK_REASON_REQUIRED=Bitte geben Sie einen aussagekr\u00e4ftigen Grund f\u00fcr die Account-Sperre ein.
 ADMIN_ENTER_USER_LOCK_REASON=Sperrgrund eingeben:
 ADMIN_UNLOCK_USER_TITLE=Benutzeraccount {0} ({1})
+BUTTON_ADMIN_LOCK_USER_ACCOUNT=Benutzeraccount sperren
+BUTTON_ADMIN_UNLOCK_USER_ACCOUNT=Benutzeraccount entsperren
+ERROR_CANNOT_UN_LOCK_USER_ACCOUNT_UNCONFIRMED=Unbest\u00e4tigte Benutzeraccounts k\u00f6nnen nicht gesperrt werden.
index 50d27306e9cf0d7400a85d4b316f548a0d7b6893..a66010d5d5712f33d82ebf1257d61541d5772fc1 100644 (file)
@@ -580,3 +580,6 @@ ERROR_CANNOT_UN_LOCK_USER_ACCOUNT_UNCONFIRMED=Error: Cannot lock or unlock user
 ADMIN_USER_UNLOCK_REASON_REQUIRED=Please provide a good reason why you want to lock this user's account.
 ADMIN_ENTER_USER_LOCK_REASON=Enter lock reason:
 ADMIN_UNLOCK_USER_TITLE=User account {0} ({1})
+BUTTON_ADMIN_LOCK_USER_ACCOUNT=Lock user account
+BUTTON_ADMIN_UNLOCK_USER_ACCOUNT=Unlock user account
+ERROR_CANNOT_UN_LOCK_USER_ACCOUNT_UNCONFIRMED=Unconfirmed user accounts cannot be locked.
index f9ed10adc2c9862d029a679f7c398aa6d6662307..ef48f6b1f745c2caeb559173b148428da25df368 100644 (file)
@@ -86,7 +86,7 @@
                                                        <h:commandButton styleClass="submit" type="submit" action="#{adminUserController.unlockUserAccount(beanHelper.user)}" value="#{msg.BUTTON_ADMIN_UNLOCK_USER_ACCOUNT}" />
                                                </ui:fragment>
 
-                                               <h:outputText value="#{msg.ERROR_CANNOT_UN_LOCK_USER_ACCOUNT_UNCONFIRMED}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}" />
+                                               <h:outputText styleClass="errors" value="#{msg.ERROR_CANNOT_UN_LOCK_USER_ACCOUNT_UNCONFIRMED}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}" />
                                        </div>
                                </div>
                        </h:form>