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 2016/04/01 17:18:11 UTC

syncope git commit: [SYNCOPE-791] Adding titles to entitlements and realms wizard steps

Repository: syncope
Updated Branches:
  refs/heads/master e90fa814e -> 15b9e4e15


[SYNCOPE-791] Adding titles to entitlements and realms wizard steps


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

Branch: refs/heads/master
Commit: 15b9e4e15d9455bf65bf593b4880fb473f3d219d
Parents: e90fa81
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Apr 1 17:18:05 2016 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Apr 1 17:18:05 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/syncope/client/console/pages/Roles.java     | 5 ++---
 .../syncope/client/console/wizards/role/RoleWizardBuilder.java  | 2 ++
 .../main/resources/META-INF/resources/css/syncopeConsole.css    | 5 +++++
 .../syncope/client/console/SyncopeConsoleApplication.properties | 1 +
 .../client/console/SyncopeConsoleApplication_it.properties      | 1 +
 .../client/console/SyncopeConsoleApplication_pt_BR.properties   | 1 +
 6 files changed, 12 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/15b9e4e1/client/console/src/main/java/org/apache/syncope/client/console/pages/Roles.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/pages/Roles.java b/client/console/src/main/java/org/apache/syncope/client/console/pages/Roles.java
index c760b6b..02ac0e3 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/pages/Roles.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/pages/Roles.java
@@ -41,13 +41,12 @@ public class Roles extends BasePage {
         content.setOutputMarkupId(true);
         body.add(content);
 
-        WizardMgtPanel<RoleHandler> rolesPanel =
-                new RoleDirectoryPanel.Builder(getPageReference()) {
+        WizardMgtPanel<RoleHandler> rolesPanel = new RoleDirectoryPanel.Builder(getPageReference()) {
 
             private static final long serialVersionUID = -5960765294082359003L;
 
         }.disableCheckBoxes().addNewItemPanelBuilder(
-                        new RoleWizardBuilder(BaseModal.CONTENT_ID, new RoleTO(), getPageReference()), true).
+                new RoleWizardBuilder(BaseModal.CONTENT_ID, new RoleTO(), getPageReference()), true).
                 build("rolesPanel");
 
         content.add(rolesPanel);

http://git-wip-us.apache.org/repos/asf/syncope/blob/15b9e4e1/client/console/src/main/java/org/apache/syncope/client/console/wizards/role/RoleWizardBuilder.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/role/RoleWizardBuilder.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/role/RoleWizardBuilder.java
index 3450aed..dc6cfc1 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/role/RoleWizardBuilder.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/role/RoleWizardBuilder.java
@@ -129,6 +129,7 @@ public class RoleWizardBuilder extends AjaxWizardBuilder<RoleHandler> {
         private static final long serialVersionUID = 5514523040031722256L;
 
         public Entitlements(final RoleTO modelObject) {
+            setTitleModel(new ResourceModel("entitlements"));
             add(new AjaxPalettePanel.Builder<String>().build("entitlements",
                     new PropertyModel<List<String>>(modelObject, "entitlements") {
 
@@ -154,6 +155,7 @@ public class RoleWizardBuilder extends AjaxWizardBuilder<RoleHandler> {
         private static final long serialVersionUID = 5514523040031722257L;
 
         public Realms(final RoleTO modelObject) {
+            setTitleModel(new ResourceModel("realms"));
             add(new AjaxPalettePanel.Builder<String>().build("realms",
                     new PropertyModel<List<String>>(modelObject, "realms"),
                     new ListModel<>(

http://git-wip-us.apache.org/repos/asf/syncope/blob/15b9e4e1/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css b/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
index e94767a..813aac6 100644
--- a/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
+++ b/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
@@ -266,6 +266,11 @@ a.help span a {
   right: 15px;
 }
 
+.wizard-step-title {
+  font-weight: bold; 
+  font-size:medium;
+}
+
 div.realms div.summarize {
   margin: 50px 100px;
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/15b9e4e1/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
index 4b22ddf..b0b812f 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
@@ -70,3 +70,4 @@ displayRows=Rows to display:
 OrderByLink.CSS.ascending=sorting_asc
 OrderByLink.CSS.descending=sorting_desc
 OrderByLink.CSS.none=sorting
+entitlements=Entitlements

http://git-wip-us.apache.org/repos/asf/syncope/blob/15b9e4e1/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
index 7917b1d..0f0b351 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
@@ -69,3 +69,4 @@ displayRows=Righe per pagina:
 OrderByLink.CSS.ascending=sorting_asc
 OrderByLink.CSS.descending=sorting_desc
 OrderByLink.CSS.none=sorting
+entitlements=Entitlement

http://git-wip-us.apache.org/repos/asf/syncope/blob/15b9e4e1/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
index b61aaa0..005df32 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
@@ -69,3 +69,4 @@ displayRows=Linhas para mostrar:
 OrderByLink.CSS.ascending=sorting_asc
 OrderByLink.CSS.descending=sorting_desc
 OrderByLink.CSS.none=sorting
+entitlements=Entitlement