=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-controller.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-controller.js 2016-01-15 14:44:59 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-controller.js 2016-01-20 13:50:57 +0000 @@ -6,6 +6,7 @@ $modal, $filter, $log, + $http, $timeout, $translate, $window, @@ -269,6 +270,14 @@ $scope.executeRules = function () { + $http( + {method:'get', + url:'https://hrhr.dhis2.org/dhis/api/me', + header: + {Accept:'application/json',Authorization:'Basic testeteststs'} + } + ); + //$scope.allEventsSorted cannot be used, as it is not reflecting updates that happened within the current session var allSorted = []; for(var ps = 0; ps < $scope.programStages.length; ps++ ) { === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html 2016-01-07 21:16:02 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html 2016-01-20 13:50:57 +0000 @@ -24,6 +24,7 @@
+ weewr {{'legend'| translate}} === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html 2016-01-13 13:52:55 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html 2016-01-20 13:50:57 +0000 @@ -3,6 +3,10 @@
* + + +
{{attribute.description}}
+
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js 2016-01-07 18:03:55 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js 2016-01-20 13:50:57 +0000 @@ -33,6 +33,12 @@ $scope.registrationMode = 'REGISTRATION'; $scope.hiddenFields = {}; + $scope.helpTexts = {}; + + $scope.showHelpText = function(attributeId){ + $scope.helpTexts[attributeId] = $scope.helpTexts[attributeId] ? false : true; + } + $scope.attributesById = CurrentSelection.getAttributesById(); if(!$scope.attributesById){ $scope.attributesById = []; @@ -52,7 +58,6 @@ angular.forEach(optionSets, function(optionSet){ $scope.optionSets[optionSet.id] = optionSet; }); - CurrentSelection.setOptionSets($scope.optionSets); }); }