Merge remote-tracking branch 'origin/master' into csv-error-handling
# Conflicts: # src/main/java/mops/gruppen2/controller/Gruppen2Controller.java # src/main/java/mops/gruppen2/domain/User.java # src/main/java/mops/gruppen2/service/ControllerService.java # src/main/resources/templates/createStudent.html
This commit is contained in:
@ -66,11 +66,10 @@
|
||||
<tr>
|
||||
<th scope="col">Mitglied</th>
|
||||
<th scope="col" style="width: 180px">Rolle</th>
|
||||
<th scope="col" style="width: 270px">Optionen</th>
|
||||
<th scope="col" >Optionen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="table-striped">
|
||||
|
||||
<tr th:each="member : ${group.getMembers()}">
|
||||
<th th:text="${member.getId()}"></th>
|
||||
<td>
|
||||
@ -83,7 +82,7 @@
|
||||
type="hidden">
|
||||
<input th:name="user_id" th:value="${member.getId()}"
|
||||
type="hidden">
|
||||
<button class="btn btn-warning btn-sm" type="submit">Rolle
|
||||
<button class="btn btn-warning btn-sm" type="submit">Rolle
|
||||
ändern
|
||||
</button><!-- th:if -->
|
||||
</form>
|
||||
@ -92,17 +91,16 @@
|
||||
type="hidden">
|
||||
<input th:name="user_id" th:value="${member.getId()}"
|
||||
type="hidden">
|
||||
<button class="btn btn-danger btn-sm">Mitglied entfernen
|
||||
<button th:if='${member.getId() != account.getName()}' class="btn btn-danger btn-sm">Mitglied entfernen
|
||||
</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<button class="btn btn-primary" style="background: #52a1eb; border-style: none"
|
||||
type="button">
|
||||
<a th:href="@{/gruppen2/details(id=${group.getId()})}" style="color: white">Fertig</a>
|
||||
</button>
|
||||
<form method="get" th:action="@{/gruppen2/details/{id}(id=${group.getId()})}">
|
||||
<button class="btn btn-primary" style="background: #52a1eb; border-style: none" type="submit">Fertig</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user