You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/03/20 13:44:16 UTC

[2/2] syncope git commit: Adjusting internal attribute's popover appearance

Adjusting internal attribute's popover appearance


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/93ef03e6
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/93ef03e6
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/93ef03e6

Branch: refs/heads/2_0_X
Commit: 93ef03e692fd745320fd86c149aa01ef56ee5950
Parents: fa07953
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Mar 20 14:44:07 2018 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Mar 20 14:44:07 2018 +0100

----------------------------------------------------------------------
 .../console/notifications/NotificationWizardBuilder.java  |  8 +++-----
 .../client/console/wizards/AbstractMappingPanel.java      | 10 ++++------
 2 files changed, 7 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/93ef03e6/client/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWizardBuilder.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWizardBuilder.java b/client/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWizardBuilder.java
index aa34be9..3ccfab0 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWizardBuilder.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWizardBuilder.java
@@ -357,11 +357,9 @@ public class NotificationWizardBuilder extends AjaxWizardBuilder<NotificationWra
             recipientAttrName.setChoices(getSchemas());
             recipientAttrName.addRequiredLabel();
             recipientAttrName.setTitle(getString("intAttrNameInfo.help")
-                    + "<div style=\"font-size: 10px;\">"
-                    + "<code>groups[groupName].attribute</code>\n"
-                    + "<code>anyObjects[anyObjectName].attribute</code>\n"
-                    + "<code>memberships[groupName].attribute</code>\n"
-                    + "</div>", true);
+                    + "<code>groups[groupName].attribute</code>, "
+                    + "<code>anyObjects[anyObjectName].attribute</code> or "
+                    + "<code>memberships[groupName].attribute</code>", true);
             add(recipientAttrName);
 
             AjaxTextFieldPanel staticRecipientsFieldPanel =

http://git-wip-us.apache.org/repos/asf/syncope/blob/93ef03e6/client/console/src/main/java/org/apache/syncope/client/console/wizards/AbstractMappingPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/AbstractMappingPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/AbstractMappingPanel.java
index 5532f86..42475c0 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/AbstractMappingPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/AbstractMappingPanel.java
@@ -152,12 +152,10 @@ public abstract class AbstractMappingPanel extends Panel {
         mappingContainer.add(new Label("intAttrNameInfo", Model.of()).add(new PopoverBehavior(
                 Model.<String>of(),
                 Model.of(getString("intAttrNameInfo.help")
-                        + "<div style=\"font-size: 10px;\">"
-                        + "<code>groups[groupName].attribute</code>\n"
-                        + "<code>anyObjects[anyObjectName].attribute</code>\n"
-                        + "<code>memberships[groupName].attribute</code>\n"
-                        + "</div>"),
-                new PopoverConfig().withHtml(true).withPlacement(TooltipConfig.Placement.bottom)) {
+                        + "<code>groups[groupName].attribute</code>, "
+                        + "<code>anyObjects[anyObjectName].attribute</code> or "
+                        + "<code>memberships[groupName].attribute</code>"),
+                new PopoverConfig().withHtml(true).withPlacement(TooltipConfig.Placement.right)) {
 
             private static final long serialVersionUID = -7867802555691605021L;