Skip to content

Commit

Permalink
step-28 - static thank-you view
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar authored and vojtajina committed Nov 27, 2012
1 parent 1658e45 commit 7956cfa
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<script src="js/controllers/MenuController.js"></script>
<script src="js/controllers/NavbarController.js"></script>
<script src="js/controllers/RestaurantsController.js"></script>
<script src="js/controllers/ThankYouController.js"></script>
<script src="js/directives/fmDeliverTo.js"></script>
<script src="js/directives/fmCheckboxList.js"></script>
<script src="js/directives/fmRating.js"></script>
Expand Down
4 changes: 4 additions & 0 deletions app/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ foodMeApp.config(function($routeProvider) {
controller: 'CheckoutController',
templateUrl: 'views/checkout.html'
}).
when('/thank-you', {
controller: 'ThankYouController',
templateUrl: 'views/thank-you.html'
}).
when('/customer', {
controller: 'CustomerController',
templateUrl: 'views/customer.html'
Expand Down
5 changes: 5 additions & 0 deletions app/js/controllers/ThankYouController.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

foodMeApp.controller('ThankYouController', function ThankYouController() {

});
7 changes: 7 additions & 0 deletions app/views/thank-you.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="hero-unit">
<h1>Thank you for your order!</h1>

<p>Our chefs are getting your food ready. It will be on its way shortly.</p>

<p>Your order ID is 123456789.</p>
</div>

0 comments on commit 7956cfa

Please sign in to comment.