You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by ma...@apache.org on 2016/10/13 14:54:28 UTC
[1/2] syncope git commit: [SYNCOPE-960] turns the breadcrumb
navigable once arrived in the last page in self creation
Repository: syncope
Updated Branches:
refs/heads/master adfdaa000 -> 58378e13f
[SYNCOPE-960] turns the breadcrumb navigable once arrived in the last page in self creation
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/94cb1607
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/94cb1607
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/94cb1607
Branch: refs/heads/master
Commit: 94cb160764ea367bdcfb7f06b5e0cebf0b4673a5
Parents: d7199f2
Author: Matteo Di Carlo <ma...@tirasa.net>
Authored: Thu Oct 13 15:15:23 2016 +0200
Committer: Matteo Di Carlo <ma...@tirasa.net>
Committed: Thu Oct 13 16:46:16 2016 +0200
----------------------------------------------------------------------
.../app/js/controllers/TailController.js | 7 ++--
.../app/js/controllers/UserController.js | 1 +
.../resources/app/languages/de/dynamic.json | 26 +++++++-------
.../resources/app/languages/de/static.json | 36 ++++++++++----------
.../META-INF/resources/app/views/editUser.html | 2 +-
.../resources/app/views/user-resources.html | 1 -
6 files changed, 37 insertions(+), 36 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/94cb1607/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/TailController.js
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/TailController.js b/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/TailController.js
index 69de101..fe880a3 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/TailController.js
+++ b/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/TailController.js
@@ -20,9 +20,10 @@
'use strict';
angular.module("self")
- .controller("TailController",
- function ($scope, $location) {
+ .controller("TailController", ['$scope', '$rootScope', '$location',
+ function ($scope, $rootScope, $location) {
$scope.redirect = function () {
$location.path('/self');
+ $rootScope.endReached = false;
};
- });
+ }]);
http://git-wip-us.apache.org/repos/asf/syncope/blob/94cb1607/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js b/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
index 7e84c17..2366311 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
+++ b/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
@@ -513,6 +513,7 @@ angular.module("self").controller("UserController", ['$scope', '$rootScope', '$l
$scope.logout = function (message) {
AuthService.logout().then(function (response) {
console.info("Logout successfully");
+ $rootScope.endReached = false;
$location.path('/self');
if (message) {
$scope.showSuccess(message, $scope.notification);
http://git-wip-us.apache.org/repos/asf/syncope/blob/94cb1607/client/enduser/src/main/resources/META-INF/resources/app/languages/de/dynamic.json
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/languages/de/dynamic.json b/client/enduser/src/main/resources/META-INF/resources/app/languages/de/dynamic.json
index aacf5ac..e4f50d3 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/languages/de/dynamic.json
+++ b/client/enduser/src/main/resources/META-INF/resources/app/languages/de/dynamic.json
@@ -1,26 +1,26 @@
{
- "credentials": "Details",
+ "credentials": "Anmeldedaten",
"groups": "Gruppen",
"plainSchemas": "PlainSchemas",
"derivedSchemas": "DerivedSchemas",
"virtualSchemas": "VirtualSchemas",
"resources": "Ressourcen",
- "finish": "Finish",
+ "finish": "Ende",
"fullname": "vollst�ndiger Name",
- "userId": "benutzer Id",
- "loginDate": "login Datum",
- "firstname": "name",
- "surname": "familien-oder nachname",
+ "userId": "Benutzer-ID",
+ "loginDate": "Login-Datum",
+ "firstname": "Vorname",
+ "surname": "Familien- oder Nachname",
"ctype": "ctype",
"email": "email",
- "activationDate": "aktivierungsdatum ",
- "uselessReadonly": "uselessReadonly",
+ "activationDate": "Aktivierungsdatum ",
+ "uselessReadonly": "unn�tig, nur zum lesen",
"cool": "cool",
- "gender": "geschlecht",
+ "gender": "Geschlecht",
"aLong": "aLong",
- "makeItDouble": "makeItDouble",
- "obscure": "obscure",
- "photo": "foto",
+ "makeItDouble": "verdoppeln",
+ "obscure": "undeutlich",
+ "photo": "Foto",
"GROUPS": "Gruppen",
"AUXILIARY CLASSES": "Hilfsklassen"
-}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/syncope/blob/94cb1607/client/enduser/src/main/resources/META-INF/resources/app/languages/de/static.json
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/languages/de/static.json b/client/enduser/src/main/resources/META-INF/resources/app/languages/de/static.json
index 3d67d89..db47711 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/languages/de/static.json
+++ b/client/enduser/src/main/resources/META-INF/resources/app/languages/de/static.json
@@ -1,9 +1,9 @@
{
"USER": "Benutzer",
- "CHOSENLANGUAGE": "Gew�hlte sprache",
- "CAPTCHA": "Bitte geben sie den code im bild angezeigt.",
+ "CHOSENLANGUAGE": "Gew�hlte Sprache",
+ "CAPTCHA": "Captcha",
"PASSWORD_PLACEHOLDER": "Passwort",
- "PASSWORD_RESET": "Passwort reset",
+ "PASSWORD_RESET": "Passwort-Reset",
"CONFIRM_PASSWORD_RESET": "Best�tigen Sie Passwort-Reset",
"NOTSECURE": "Nicht sicher!",
"ALMOSTSECURE": "Sicher, aber man k�nnte es besser machen",
@@ -12,13 +12,13 @@
"PASSWORD_CHANGE_REQUIRED": "Passwort�nderung erforderlich",
"PASSWORD_CHANGE": "Passwort�nderung",
"CONFIRM_PASSWORD": "Best�tige das Passwort",
- "CONFIRM_PASSWORD_PLACEHOLDER": "Best�tige das passwort",
+ "CONFIRM_PASSWORD_PLACEHOLDER": "Best�tige das Passwort",
"VERYGOOD": "Sehr gut!",
"PASSWORD_STRENGTH": "Passwort-Sicherheit",
"NEXT": "N�chster",
"PREVIOUS": "Fr�her",
"SAVE": "Speichern",
- "FINISH": "Finish",
+ "FINISH": "Ende",
"USERDETAILS": "Nutzerdetails",
"SECURITYQUESTION": "Sicherheitsfrage",
"SELECTSECURITYQUESTION": "W�hlen Sie die Sicherheitsfrage",
@@ -28,7 +28,7 @@
"SELFREGISTRATION": "Selbstregistrierung",
"PASSWORDRESET": "Passwort zur�cksetzen",
"USERNAME": "Benutzername",
- "USERNAME_PLACEHOLDER": "Benutzername",
+ "USERNAME_PLACEHOLDER": "Benutzernamen",
"PASSWORD": "Passwort",
"LOGIN": "Anmeldung",
"LANGUAGES": "Sprachen",
@@ -36,22 +36,22 @@
"ITALIAN": "Italienisch",
"GERMAN": "Deutsch",
"GROUPS": "Gruppen",
- "GROUPS_PLACEHOLDER": "Klicken sie auf gruppen auszuw�hlen...",
+ "GROUPS_PLACEHOLDER": "Klicken sie auf Gruppen um auszuw�hlen...",
"AUXILIARY CLASSES": "Hilfsklassen",
- "AUXILIARY_CLASSES_PLACEHOLDER": "Klicken sie auf hilfsklasse zu w�hlen",
- "CREDENZIALI": "Details",
+ "AUXILIARY_CLASSES_PLACEHOLDER": "Klicken sie auf Hilfsklasse um auszuw�hlen",
+ "CREDENZIALI": "Anmeldedaten",
"PLAINSCHEMAS": "PlainSchemas",
- "DERIVEDSCHEMAS": "Abgeleitet schemen",
- "VIRTUALSCHEMAS": "Virtuelle Schemen",
+ "DERIVEDSCHEMAS": "DerivedSchemas",
+ "VIRTUALSCHEMAS": "VirtualSchemas",
"RESOURCES": "Ressourcen",
- "RESOURCES_PLACEHOLDER": "Klicken sie auf ressourcen zu w�hlen...",
+ "RESOURCES_PLACEHOLDER": "W�hlen Sie ressourcen...",
"REALM": "Realm",
- "NEWUSER": "Neuer benutzer",
- "SUCCESSFULLY_CREATED": "succes aangemaakt",
- "SUCCESSFULLY_UPDATED": "succesvol ge�pdatet",
- "PASSWORD_UPDATED": ": password succesfully updated",
- "GOBACKHOME": "Klik op deze link om terug te gaan naar de home page",
- "CONFIRM_REMOVE": "This will remove the current value. Continue?",
+ "NEWUSER": "Neuer Benutzer",
+ "SUCCESSFULLY_CREATED": "erfolgreich erstellt",
+ "SUCCESSFULLY_UPDATED": "erfolgreich aktualisiert",
+ "PASSWORD_UPDATED": "Passwort erfolgreich aktualisisert",
+ "GOBACKHOME": "Hier klicken um zur Homepage zur�ck zu gelangen",
+ "CONFIRM_REMOVE": "L�schen best�tigen",
"own": "Besitzen"
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/94cb1607/client/enduser/src/main/resources/META-INF/resources/app/views/editUser.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/editUser.html b/client/enduser/src/main/resources/META-INF/resources/app/views/editUser.html
index caa17a8..8ce34fe 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/editUser.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/editUser.html
@@ -35,7 +35,7 @@ under the License.
<a id="logout" class="btn btn-default" ng-show="!createMode" ng-click="logout()"><i class="glyphicon glyphicon-off"style="color:red"></i></a>
<!--add class breadcrumb-disabled-link to buttons to prevent click-->
<a ng-repeat="(key, value) in wizard" ui-sref-active="active" ui-sref=".{{key}}" class="btn btn-default"
- ng-class="createMode ? 'disable-link' : ''">{{key | translate}}</a>
+ ng-class="createMode && !endReached ? 'disable-link' : ''">{{key | translate}}</a>
</div>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/syncope/blob/94cb1607/client/enduser/src/main/resources/META-INF/resources/app/views/user-resources.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/user-resources.html b/client/enduser/src/main/resources/META-INF/resources/app/views/user-resources.html
index 0c2b2db..9d27a61 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/user-resources.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/user-resources.html
@@ -20,7 +20,6 @@ under the License.
<resources form="dynamicForm" user="user"></resources>
</div>
<div id="attribute" class="form-group row">
- <button id="save" ng-show="!createMode" type="button" class="btn btn-default pull-right" ng-click="finish()">{{'FINISH'| translate}}</button>
<navigation-buttons ng-show="createMode" base="create" current="resources" wizard="{{wizard}}"></navigation-buttons>
<navigation-buttons ng-show="!createMode" base="update" current="resources" wizard="{{wizard}}"></navigation-buttons>
[2/2] syncope git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/syncope
Posted by ma...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/syncope
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/58378e13
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/58378e13
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/58378e13
Branch: refs/heads/master
Commit: 58378e13f03e932da744a30959152c47c771154f
Parents: 94cb160 adfdaa0
Author: Matteo Di Carlo <ma...@tirasa.net>
Authored: Thu Oct 13 16:53:47 2016 +0200
Committer: Matteo Di Carlo <ma...@tirasa.net>
Committed: Thu Oct 13 16:53:47 2016 +0200
----------------------------------------------------------------------
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------