Skip to content
Snippets Groups Projects
Commit f6aef4dc authored by Otto Visser's avatar Otto Visser
Browse files

Also show feedbackcounter for teachers

parent 8c60fbf3
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,13 @@
<ul class="list-group" th:unless="${#lists.isEmpty(course.getRoles(T(nl.tudelft.ewi.queue.model.Teacher)))}">
<li class="list-group-item" th:each="role : ${course.getRoles(T(nl.tudelft.ewi.queue.model.Teacher))}" >
<th:block th:if="${@permissionService.canViewFeedback(#authentication.principal, role.user.id)}">
[[${role.user}]]
<span th:text="'(' + ${feedbackCount.get(role.user.id)} + ')'" class="small">0</span>
</th:block>
<th:block th:unless="${@permissionService.canViewFeedback(#authentication.principal, role.user.id)}">
[[${role.user}]]
</th:block>
<div class="pull-right" th:if="${@permissionService.canManageTeachers(#authentication.principal, course.id)}">
<a class="btn btn-xs btn-danger" th:href="@{/course/{courseId}/participants/{id}/remove(courseId=${course.id},id=${role.id})}">
<i class="fa fa-trash-o" aria-hidden="true"></i>
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment