File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
kotlin/org/dropProject/dao Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11package org.dropProject.dao
22
3+ import javax.persistence.Column
34import javax.persistence.Entity
45import javax.persistence.GeneratedValue
56import javax.persistence.Id
@@ -12,6 +13,8 @@ data class ProjectGroupRestrictions(
1213
1314 var minGroupSize : Int = 1 ,
1415 var maxGroupSize : Int? = null ,
16+
17+ @Column(length = 1000 )
1518 var exceptions : String? = null // comma separated list of users that are exempt from the restrictions
1619) {
1720
Original file line number Diff line number Diff line change 2323
2424 < h1 class ="page-header " th:text ="'Build report for submission ' + ${submission.id} "> </ h1 >
2525 < h6 >
26- Assignment: < a th:href ="${assignment.linkToGithub()} " th:text ="${assignment.id} "> </ a > |
26+ Assignment: < a th:if ="${isTeacher} " th:href ="${assignment.linkToGithub()} " th:text ="${assignment.id} "> </ a >
27+ < span th:if ="${!isTeacher} " th:text ="${assignment.id} "> </ span > |
2728 Submitted: < span th:text ="${#dates.format(submission.submissionDate, 'dd-MM HH:mm:ss')} "> </ span >
2829 < a th:if ="${isTeacher} "
2930 th:href ="@{'/submissions?assignmentId=' + ${assignment.id} + '&groupId=' + ${submission.group.id}} "> (other submissions)</ a >
You can’t perform that action at this time.
0 commit comments