From 50d8579b3e67c7195a94d82d5dcfbd520e147c3b Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Thu, 4 Oct 2018 22:21:26 +0400 Subject: [PATCH] Set inputPrompt for login and password fields on LoginWindow #1333 --- modules/gui/src/com/haulmont/cuba/gui/messages.properties | 2 ++ modules/gui/src/com/haulmont/cuba/gui/messages_ru.properties | 3 ++- .../src/com/haulmont/cuba/web/app/loginwindow/loginwindow.xml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/gui/src/com/haulmont/cuba/gui/messages.properties b/modules/gui/src/com/haulmont/cuba/gui/messages.properties index 5ffa5dab49..7326894e65 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/messages.properties +++ b/modules/gui/src/com/haulmont/cuba/gui/messages.properties @@ -58,6 +58,8 @@ application.welcomeText=Welcome to CUBA Application! loginWindow.caption=CUBA Login loginWindow.welcomeLabel=Welcome to CUBA! loginWindow.logoImage=branding/app-icon-login.png +loginWindow.loginPlaceholder = Login +loginWindow.passwordPlaceholder = Password loginWindow.loginField=Login loginWindow.passwordField=Password diff --git a/modules/gui/src/com/haulmont/cuba/gui/messages_ru.properties b/modules/gui/src/com/haulmont/cuba/gui/messages_ru.properties index ce41d9070f..0d9f6179ff 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/messages_ru.properties +++ b/modules/gui/src/com/haulmont/cuba/gui/messages_ru.properties @@ -53,12 +53,13 @@ loginWindow.passwordField=Пароль loginWindow.okButton=Войти loginWindow.rememberMe=Запомнить меня loginWindow.emptyLoginOrPassword=Введите логин и пароль +loginWindow.loginPlaceholder = Логин +loginWindow.passwordPlaceholder = Пароль menu-config.-=
menu-config.administration=Администрирование menu-config.sys$Server.browse=Серверы menu-config.sys$FileDescriptor.browse=Внешние файлы -menu-config.tableTest=Lazy Loading Table menu-config.security=Безопасность menu-config.sec$Group.browse=Группы доступа menu-config.sec$Role.browse=Роли diff --git a/modules/web/src/com/haulmont/cuba/web/app/loginwindow/loginwindow.xml b/modules/web/src/com/haulmont/cuba/web/app/loginwindow/loginwindow.xml index ae882444aa..a7dbe6a75c 100644 --- a/modules/web/src/com/haulmont/cuba/web/app/loginwindow/loginwindow.xml +++ b/modules/web/src/com/haulmont/cuba/web/app/loginwindow/loginwindow.xml @@ -57,8 +57,10 @@