Merge branch 'infoFix' into develop
This commit is contained in:
commit
6748ce5c75
@ -81,10 +81,15 @@ public class MyProjectIdeasPanel extends Panel {
|
||||
item.add(new Label("level", idea.getProjectClass().getName()));
|
||||
item.add(new Label("authors", authorString));
|
||||
|
||||
String supervisorString = idea.getMatch().getSupervisor() != null && idea.getMatch().getStatus().equals(Match.Status.CONFIRMED) ?
|
||||
idea.getMatch().getSupervisor().getNameAsString()+" ("+idea.getMatch().getSupervisor().getEmailAsString()+")" :
|
||||
"Supervisor allocation in progress";
|
||||
item.add(new Label("supervisor", supervisorString));
|
||||
String supervisor = "";
|
||||
if(idea.getMatch().getSupervisor()!=null&&idea.getMatch().getStatus().equals(Match.Status.CONFIRMED))
|
||||
supervisor = idea.getMatch().getSupervisor().getNameAsString()+" ("+idea.getMatch().getSupervisor().getEmailAsString()+")";
|
||||
else if(idea.getMatch().getStatus().equals(Match.Status.REFUSED))
|
||||
supervisor = "Project idea refused, needs to be rewritten";
|
||||
else
|
||||
supervisor = "Supervisor allocation in progress";
|
||||
|
||||
item.add(new Label("supervisor", supervisor));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user