This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit 6748663255f6d8524f60c9ca0fa504eec3dc8d02 Author: Yannick Martel <martel@©odelutin.com> Date: Thu Dec 24 15:36:35 2015 +0100 upgrade datepicker-popup to uib-datepicker-popup --- coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 6 +----- .../src/main/webapp/views/documents/editDocument.html | 4 ++-- .../src/main/webapp/views/documents/modalDocumentEdit.html | 7 ++++--- coselmar-ui/src/main/webapp/views/documents/newdocument.html | 4 ++-- coselmar-ui/src/main/webapp/views/documents/toolsPart.html | 12 ++++++++---- .../src/main/webapp/views/questions/editquestion.html | 2 +- coselmar-ui/src/main/webapp/views/questions/toolsPart.html | 8 ++++---- 7 files changed, 22 insertions(+), 21 deletions(-) diff --git a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js index 1255517..a5b0fc2 100644 --- a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js +++ b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js @@ -967,10 +967,6 @@ coselmarControllers.controller("QuestionsCtrl", ['$scope', '$route', '$routePara }; - $scope.openDatePicker = function(datePickerParam) { - datePickerParam = true; - } - $scope.deleteQuestion = function(questionId) { questionsService.deleteQuestion(questionId, function(questions) { @@ -1014,7 +1010,7 @@ coselmarControllers.controller("QuestionsCtrl", ['$scope', '$route', '$routePara $scope.getToken = function() { return localStorage.getItem('coselmar-jwt'); - } + }; }]); diff --git a/coselmar-ui/src/main/webapp/views/documents/editDocument.html b/coselmar-ui/src/main/webapp/views/documents/editDocument.html index b6588ec..58c73a6 100644 --- a/coselmar-ui/src/main/webapp/views/documents/editDocument.html +++ b/coselmar-ui/src/main/webapp/views/documents/editDocument.html @@ -248,9 +248,9 @@ <input type="text" class="form-control" name="publicationDate" placeholder="dd/MM/yyyy" ng-model="document.publicationDate" - datepicker-popup="dd/MM/yyyy" is-open="publicationDateOpened" + uib-datepicker-popup="dd/MM/yyyy" is-open="publicationDateOpened" ng-click="publicationDateOpened = true"/> - <span class="input-group-addon"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span></span> + <span class="input-group-addon" ng-click="publicationDateOpened = true"><span class="fa fa-calendar" aria-hidden="true"></span></span> </div> </div> diff --git a/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html b/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html index 95d6a5b..9c4d63f 100644 --- a/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html +++ b/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html @@ -225,11 +225,12 @@ <input type="text" class="form-control" name="publicationDate" placeholder="dd/MM/yyyy" ng-model="document.publicationDate" - datepicker-popup="dd/MM/yyyy" + uib-datepicker-popup="dd/MM/yyyy" is-open="publicationDateOpened" ng-click="publicationDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" - aria-hidden="true"></span></span> + <span class="input-group-addon" ng-click="publicationDateOpened = true"> + <span class="fa fa-calendar" aria-hidden="true"></span> + </span> </div> </div> </div> diff --git a/coselmar-ui/src/main/webapp/views/documents/newdocument.html b/coselmar-ui/src/main/webapp/views/documents/newdocument.html index 7209af4..a4d59dd 100644 --- a/coselmar-ui/src/main/webapp/views/documents/newdocument.html +++ b/coselmar-ui/src/main/webapp/views/documents/newdocument.html @@ -242,9 +242,9 @@ <input type="text" class="form-control" name="publicationDate" placeholder="dd/MM/yyyy" ng-model="document.publicationDate" - datepicker-popup="dd/MM/yyyy" is-open="publicationDateOpened" + uib-datepicker-popup="dd/MM/yyyy" is-open="publicationDateOpened" ng-click="publicationDateOpened = true"/> - <span class="input-group-addon"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span></span> + <span class="input-group-addon" ng-click="publicationDateOpened = true"><span class="fa fa-calendar" aria-hidden="true"></span></span> </div> </div> </div> diff --git a/coselmar-ui/src/main/webapp/views/documents/toolsPart.html b/coselmar-ui/src/main/webapp/views/documents/toolsPart.html index 68b3922..b1a28bb 100644 --- a/coselmar-ui/src/main/webapp/views/documents/toolsPart.html +++ b/coselmar-ui/src/main/webapp/views/documents/toolsPart.html @@ -138,9 +138,11 @@ <input type="text" class="form-control" name="depositAfterDate" placeholder="dd/MM/yyyy" ng-model="example.depositAfterDate" - datepicker-popup="dd/MM/yyyy" is-open="depositAfterDateOpened" + uib-datepicker-popup="dd/MM/yyyy" is-open="depositAfterDateOpened" ng-click="depositAfterDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" aria-hidden="true"></span></span> + <span class="input-group-addon" ng-click="depositAfterDateOpened = true"> + <span class="fa fa-calendar" aria-hidden="true"></span> + </span> </div> </div> @@ -150,9 +152,11 @@ <input type="text" class="form-control" name="depositBeforeDate" placeholder="dd/MM/yyyy" ng-model="example.depositBeforeDate" - datepicker-popup="dd/MM/yyyy" is-open="depositBeforeDateOpened" + uib-datepicker-popup="dd/MM/yyyy" is-open="depositBeforeDateOpened" ng-click="depositBeforeDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" aria-hidden="true"></span></span> + <span class="input-group-addon" ng-click="depositBeforeDateOpened = true"> + <span class="fa fa-calendar" aria-hidden="true"></span> + </span> </div> </div> diff --git a/coselmar-ui/src/main/webapp/views/questions/editquestion.html b/coselmar-ui/src/main/webapp/views/questions/editquestion.html index fce4106..1621f49 100644 --- a/coselmar-ui/src/main/webapp/views/questions/editquestion.html +++ b/coselmar-ui/src/main/webapp/views/questions/editquestion.html @@ -83,7 +83,7 @@ <input type="text" class="form-control" name="deadline" placeholder="dd/MM/yyyy" ng-model="question.deadline" - datepicker-popup="dd/MM/yyyy" is-open="deadlineDateOpened" + uib-datepicker-popup="dd/MM/yyyy" is-open="deadlineDateOpened" ng-click="deadlineDateOpened = true" /> </div> </div> diff --git a/coselmar-ui/src/main/webapp/views/questions/toolsPart.html b/coselmar-ui/src/main/webapp/views/questions/toolsPart.html index 55881be..6a1c255 100644 --- a/coselmar-ui/src/main/webapp/views/questions/toolsPart.html +++ b/coselmar-ui/src/main/webapp/views/questions/toolsPart.html @@ -110,7 +110,7 @@ ng-model="searchOptions.submissionAfterDate" uib-datepicker-popup="dd/MM/yyyy" is-open="submitAfterDateOpened" ng-click="submitAfterDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" aria-hidden="true" ng-click="openDatePicker(submitAfterDate)"></span></span> + <span class="input-group-addon" ng-click="submitAfterDateOpened = true"><span class="fa fa-calendar" aria-hidden="true"></span></span> </div> </div> @@ -122,7 +122,7 @@ ng-model="searchOptions.submissionBeforeDate" uib-datepicker-popup="dd/MM/yyyy" is-open="submitBeforeDateOpened" ng-click="submitBeforeDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" aria-hidden="true" ng-click="openDatePicker(submitBeforeDate)"></span></span> + <span class="input-group-addon" ng-click="submitBeforeDateOpened = true"><span class="fa fa-calendar" aria-hidden="true"></span></span> </div> </div> @@ -141,7 +141,7 @@ ng-model="searchOptions.deadlineAfterDate" uib-datepicker-popup="dd/MM/yyyy" is-open="deadlineAfterDateOpened" ng-click="deadlineAfterDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" aria-hidden="true" ng-click="openDatePicker(deadlineAfterDateOpened)"></span></span> + <span class="input-group-addon" ng-click="deadlineAfterDateOpened = true"><span class="fa fa-calendar" aria-hidden="true"></span></span> </div> </div> @@ -153,7 +153,7 @@ ng-model="searchOptions.deadlineBeforeDate" uib-datepicker-popup="dd/MM/yyyy" is-open="deadlineBeforeDateOpened" ng-click="deadlineBeforeDateOpened = true"/> - <span class="input-group-addon"><span class="fa fa-calendar" aria-hidden="true" ng-click="openDatePicker(deadlineBeforeDateOpened)"></span></span> + <span class="input-group-addon" ng-click="deadlineBeforeDateOpened = true"><span class="fa fa-calendar" aria-hidden="true"></span></span> </div> </div> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.