File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
backend/target/classes/templates Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 125
125
< tr >
126
126
< th scope ="row "> +</ th >
127
127
< td > {{id}}</ td >
128
- < td > {{user }}</ td >
128
+ < td > {{userName }}</ td >
129
129
< td > {{price}}</ td >
130
- < td > {{course }}</ td >
130
+ < td > {{courseTitle }}</ td >
131
131
< td > {{billingAddress}}</ td >
132
132
< td > {{paymentMethod}}</ td >
133
133
< td > {{Country}}</ td >
Original file line number Diff line number Diff line change 17
17
/>
18
18
19
19
<!-- Bootstrap core CSS -->
20
- < link href ="../assets/ dist/css/bootstrap.min.css " rel ="stylesheet " / >
20
+ < link href ="
https://cdn.jsdelivr.net/npm/[email protected] / dist/css/bootstrap.min.css"
rel ="
stylesheet "
integrity =" sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC " crossorigin =" anonymous " >
21
21
22
22
<!-- Custom styles for this template -->
23
23
< link href ="../css/custom.css " rel ="stylesheet " />
@@ -37,7 +37,7 @@ <h2>COMPLETE YOUR ORDER</h2>
37
37
38
38
< div class ="col-6 ">
39
39
< h4 class ="mb-3 "> Billing Address</ h4 >
40
- < form class ="needs-validation " novalidate action ="/orders/new " method ="post " enctype ="multipart/form-data ">
40
+ < form class ="needs-validation " action ="/orders/new " method ="post " enctype ="multipart/form-data ">
41
41
< div >
42
42
< div class ="col-10 ">
43
43
< label for ="address " class ="form-label "> Address</ label >
@@ -147,6 +147,8 @@ <h4 class="mb-3">Pago</h4>
147
147
< input name ="courseId " value ={{course.id}} type ="hidden " class ="form-control " id ="inputCourse ">
148
148
< input name ="userId " value ={{userId}} type ="hidden " class ="form-control " id ="inputUser ">
149
149
< input name ="price " value ={{price}} type ="hidden " class ="form-control " id ="inputPrice ">
150
+ < input name ="ctitle " value ={{course.title}} type ="hidden " class ="form-control " id ="inputCtitle ">
151
+ < input name ="uname " value ={{userName}} type ="hidden " class ="form-control " id ="inputUname ">
150
152
< button class ="w-100 btn btn-primary btn-lg " type ="submit "> Finalizar compra</ button >
151
153
< input type ="hidden " name ="_csrf " value ="{{token}} "/>
152
154
{{/logged}}
Original file line number Diff line number Diff line change 6
6
</ div >
7
7
</ footer >
8
8
9
- < script src ="../assets /dist/js/bootstrap.bundle.min.js "> </ script >
9
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/js/bootstrap.bundle.min.js"
> </ script >
Original file line number Diff line number Diff line change 62
62
class ="dropdown-menu dropdown-menu-end dropdown-menu-dark "
63
63
aria-labelledby ="navbarDarkDropdownMenuLink "
64
64
>
65
+ < li > < a class ="dropdown-item " href ="/myaccount/{{userId}} "> My account</ a > </ li >
65
66
< li > < a class ="dropdown-item " href ="/courses/user/{{userId}} "> My courses</ a > </ li >
66
- < li > < a class ="dropdown-item " href ="# "> My account</ a > </ li >
67
67
{{#admin}}
68
68
< li > < a class ="dropdown-item " href ="/admin "> Admin Dashboard</ a > </ li >
69
69
{{/admin}}
You can’t perform that action at this time.
0 commit comments