Skip to content

Commit 9b01d49

Browse files
committed
Add data to course view
1 parent 0af89e1 commit 9b01d49

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backend/src/main/resources/templates/course.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<div id="detailsContainer" class="col-md-8 themed-grid-col" style="height:500px">
3232
{{#course}}
3333
<h2>{{title}}</h2>
34+
<h6>By {{author.firstName}}</h6>
3435
<img width="560" height="315" src="https://localhost:8443/courses/thumbnail/{{id}}" alt="Course Image">
3536
<div class="mt-2">
3637
{{#tags}}

backend/target/classes/templates/course.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<div id="detailsContainer" class="col-md-8 themed-grid-col" style="height:500px">
3232
{{#course}}
3333
<h2>{{title}}</h2>
34+
<h6>By {{author.firstName}}</h6>
3435
<img width="560" height="315" src="https://localhost:8443/courses/thumbnail/{{id}}" alt="Course Image">
3536
<div class="mt-2">
3637
{{#tags}}

0 commit comments

Comments
 (0)