Change in ovirt-engine[master]: webadmin: fix layout of multiple lines conf msgs
tjelinek at redhat.com
tjelinek at redhat.com
Thu Dec 13 14:01:05 UTC 2012
Tomas Jelinek has submitted this change and it was merged.
Change subject: webadmin: fix layout of multiple lines conf msgs
......................................................................
webadmin: fix layout of multiple lines conf msgs
Fix the layout of messages in some confirmations dialogs that should be
splitted over multiple lines (such as in the "import vm" confirmation
dialog).
The problem was that the widget which is used to contain those messages
is Label, thus the '\n' characters in the message are ignored, and the
message is presented in a single long line.
This patch solves the problem by replacing the '\n' characters in the
message with "<br>" tags and setting the message as HTML
Change-Id: I1576b7576cf93ba9e525f20261d423fd4c0721b0
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/view/popup/AbstractConfirmationPopupView.java
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/view/popup/DefaultConfirmationPopupView.ui.xml
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/view/popup/RemoveConfirmationPopupView.java
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/view/popup/RemoveConfirmationPopupView.ui.xml
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/storage/StorageForceCreatePopupView.ui.xml
5 files changed, 14 insertions(+), 14 deletions(-)
Approvals:
Tomas Jelinek: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9989
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1576b7576cf93ba9e525f20261d423fd4c0721b0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
More information about the Engine-commits
mailing list