Skip to content

Commit 6ebdc9d

Browse files
palves-ulhtjoao-marques-a22108693
authored andcommitted
show number of submissions on the build report page
1 parent 5ac662f commit 6ebdc9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/templates/build-report.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ <h1 class="page-header" th:text="'Build report for submission ' + ${submission.i
2525
<h6>
2626
Assignment: <a th:if="${isTeacher}" th:href="${assignment.linkToGithub()}" th:text="${assignment.id}"></a>
2727
<span th:if="${!isTeacher}" th:text="${assignment.id}"></span> |
28-
Submitted: <span th:text="${#dates.format(submission.submissionDate, 'dd-MM HH:mm:ss')}"></span>
28+
Submitted: <span th:text="${#dates.format(submission.submissionDate, 'dd-MM HH:mm:ss')}"></span> |
29+
Submissions: <span th:text="${numSubmissions}"></span>
2930
<a th:if="${isTeacher}"
3031
th:href="@{'/submissions?assignmentId=' + ${assignment.id} + '&groupId=' + ${submission.group.id}}">(other submissions)</a>
3132
<span th:if="${submission.overdue}" class="label label-danger">Overdue</span>

0 commit comments

Comments
 (0)