\n`;
+ if (!this.hiddenStudentNames) {
+ if (eui.user.name && eui.user.lastName) {
+ rows = rows + "" + eui.user.name + " " + eui.user.lastName + " \n";
+ } else {
+ rows = rows + " ";
+ }
+ }
+ rows = rows + `student_${eui.id} \n`;
switch (eui.status) {
case 0: {
// not started
@@ -301,75 +322,91 @@ export class DashboardWebview {
break;
}
}
- rows = rows + ``;
- const buttons = `Open Diff `;
- rows += buttons;
- rows = rows + ` \n`;
- rows = rows + `${this.getElapsedTime(eui.updateDateTime)} \n`;
+ rows = rows + ``;
+ if (this.fullMode){
+ rows += `Open Diff \n`;
+ }
+ rows = rows + `${this.getElapsedTime(eui.updateDateTime)} \n`;
rows = rows + " \n";
-
}
// Use a nonce to whitelist which scripts can be run
const nonce = this.getNonce();
return `
-
-