Commit 0c83501f4c09ee45fda56806c55676fa0f30a2c2
1 parent
ea155aa5a9
Exists in
master
and in
1 other branch
show error message
Showing
3 changed files
with
22 additions
and
4 deletions
Show diff stats
pages/registration.html
... | ... | @@ -752,7 +752,20 @@ |
752 | 752 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
753 | 753 | </div> |
754 | 754 | </div> |
755 | -</div> <!-- CLOSE NEW-CONTROLLER --> | |
755 | +</div> | |
756 | +<div class="modal fade" id="myModal" role="dialog"> | |
757 | + <div class="modal-dialog" style="left: auto;"> | |
758 | + <div class="modal-content"> | |
759 | + <div class="modal-body" style="text-align:center;margin-top:5%"> | |
760 | + <p style="font-size:22px">Your Email is already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{id}}">Click here</a> to complete the payment</p> | |
761 | + </div> | |
762 | + <div style="text-align:center;margin-bottom:5%"> | |
763 | + <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> | |
764 | + </div> | |
765 | + </div> | |
766 | + </div> | |
767 | +</div> | |
768 | +<!-- CLOSE NEW-CONTROLLER --> | |
756 | 769 | <!-- <div id="snacsskbar">Registration done successfully.</div> |
757 | 770 | --><!-- <div class="modal fade" id="myModal" role="dialog"> |
758 | 771 | <div class="modal-dialog" style="left: auto;"> | ... | ... |
pages/verify.html
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | </div> |
32 | 32 | </div> |
33 | 33 | <div style="text-align:center; margin-top:6%;margin-bottom:5%"> |
34 | - <input type="button" class="btn submit-button" value="Pay Now" ng-click="update()"> | |
34 | + <input type="button" class="btn submit-button" value="payment" ng-click="update()"> | |
35 | 35 | </div> |
36 | 36 | </div> |
37 | 37 | </div> |
... | ... | @@ -44,7 +44,7 @@ |
44 | 44 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> |
45 | 45 | </center> |
46 | 46 | </footer> |
47 | - <span ng-show="span == true"> | |
47 | +<span ng-show="span == true"> | |
48 | 48 | <span id="chennai"></span> |
49 | 49 | <span id="pune"></span> |
50 | 50 | <span id="mumbai"></span> | ... | ... |
script.js
... | ... | @@ -651,7 +651,12 @@ |
651 | 651 | |
652 | 652 | }, function myError(error) {}); |
653 | 653 | } |
654 | - }, function myError(error) {alert(error)}); | |
654 | + }, function myError(error) { | |
655 | + console.log("error",error) | |
656 | + $scope.emailId = error.data.error.message; | |
657 | + $scope.id = error.data.error.id; | |
658 | + $('#myModal').modal('show'); | |
659 | + }); | |
655 | 660 | } |
656 | 661 | |
657 | 662 | } | ... | ... |