Activity | Progress | ") + .append("Average score | Score |
---|---|---|---|
").append(activityDTO.getRowName()) + .append(" | "); + + if (activityDTO.getStatus().contains("success")) { + content.append("✓"); + } else if (activityDTO.getStatus().contains("cog")) { + content.append("⚙"); + } else { + content.append("-"); + } + + content.append(" | "); + if (activityDTO.getAverageMark() != null) { + content.append(GradebookUtil.niceFormatting(activityDTO.getAverageMark())); + } + + content.append(" | "); + if (activityDTO.getMark() != null) { + content.append(GradebookUtil.niceFormatting(activityDTO.getMark())); + } + + content.append(" |
Activity | Progress | ") - .append("Average score | Score |
---|---|---|---|
").append(activityDTO.getRowName()) - .append(" | "); - - if (activityDTO.getStatus().contains("success")) { - content.append("✓"); - } else if (activityDTO.getStatus().contains("cog")) { - content.append("⚙"); - } else { - content.append("-"); - } - - content.append(" | "); - if (activityDTO.getAverageMark() != null) { - content.append(GradebookUtil.niceFormatting(activityDTO.getAverageMark())); - } - - content.append(" | "); - if (activityDTO.getMark() != null) { - content.append(GradebookUtil.niceFormatting(activityDTO.getMark())); - } - - content.append(" |