Skip to content

Commit 0af89e1

Browse files
committed
Fix merge
1 parent 765c86f commit 0af89e1

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

backend/target/classes/templates/admin.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@
125125
<tr>
126126
<th scope="row">+</th>
127127
<td>{{id}}</td>
128-
<td>{{user}}</td>
128+
<td>{{userName}}</td>
129129
<td>{{price}}</td>
130-
<td>{{course}}</td>
130+
<td>{{courseTitle}}</td>
131131
<td>{{billingAddress}}</td>
132132
<td>{{paymentMethod}}</td>
133133
<td>{{Country}}</td>

backend/target/classes/templates/checkout.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/>
1818

1919
<!-- 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">
2121

2222
<!-- Custom styles for this template -->
2323
<link href="../css/custom.css" rel="stylesheet" />
@@ -37,7 +37,7 @@ <h2>COMPLETE YOUR ORDER</h2>
3737

3838
<div class="col-6">
3939
<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">
4141
<div>
4242
<div class="col-10">
4343
<label for="address" class="form-label">Address</label>
@@ -147,6 +147,8 @@ <h4 class="mb-3">Pago</h4>
147147
<input name="courseId" value={{course.id}} type="hidden" class="form-control" id="inputCourse">
148148
<input name="userId" value={{userId}} type="hidden" class="form-control" id="inputUser">
149149
<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">
150152
<button class="w-100 btn btn-primary btn-lg" type="submit"> Finalizar compra</button>
151153
<input type="hidden" name="_csrf" value="{{token}}"/>
152154
{{/logged}}

backend/target/classes/templates/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
</div>
77
</footer>
88

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>

backend/target/classes/templates/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
class="dropdown-menu dropdown-menu-end dropdown-menu-dark"
6363
aria-labelledby="navbarDarkDropdownMenuLink"
6464
>
65+
<li><a class="dropdown-item" href="/myaccount/{{userId}}">My account</a></li>
6566
<li><a class="dropdown-item" href="/courses/user/{{userId}}">My courses</a></li>
66-
<li><a class="dropdown-item" href="#">My account</a></li>
6767
{{#admin}}
6868
<li><a class="dropdown-item" href="/admin">Admin Dashboard</a></li>
6969
{{/admin}}

0 commit comments

Comments
 (0)