Improve the UX when creating groups as a supervisor #123

Merged
niat8586 merged 9 commits from group-creation-ux into develop 2025-03-05 11:01:37 +01:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 5493c35827 - Show all commits

View File

@ -32,6 +32,7 @@
<div> <div>
<h4 wicket:id="title"></h4> <h4 wicket:id="title"></h4>
<h5 class="" wicket:id="type"></h5> <h5 class="" wicket:id="type"></h5>
Started at <span wicket:id="start_date"></span>
<div wicket:id="authors"> <div wicket:id="authors">
<span wicket:id="author"></span> <span wicket:id="author"></span>
</div> </div>

View File

@ -63,6 +63,7 @@ public class EditGroupPanel extends Panel {
item.add(checkbox); item.add(checkbox);
item.add(new Label("title", item.getModel().map(Project::getTitle))); item.add(new Label("title", item.getModel().map(Project::getTitle)));
item.add(new Label("type", item.getModel().map(Project::getProjectTypeName))); item.add(new Label("type", item.getModel().map(Project::getProjectTypeName)));
item.add(new Label("start_date", item.getModel().map(Project::getStartDate)));
IModel<SortedSet<User>> authors = item.getModel().map(Project::getProjectParticipants); IModel<SortedSet<User>> authors = item.getModel().map(Project::getProjectParticipants);
item.add( item.add(
new ListView<>("authors", new ListAdapterModel<>(authors)) { new ListView<>("authors", new ListAdapterModel<>(authors)) {