Skip to content

Commit

Permalink
PLAG-176 Have a better warning in Sakai and Moodle when a paper is su…
Browse files Browse the repository at this point in the history
…bmitted but no score is ready
  • Loading branch information
Bryan Holladay authored and Bryan Holladay committed Jul 8, 2014
1 parent 42b3228 commit e8909fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ public String getIconUrlforScore(Long score) {
String urlBase = "/sakai-contentreview-tool-vericite/images/";
String suffix = ".png";

if (score.equals(Long.valueOf(0))) {
if (score.compareTo(Long.valueOf(0)) < 0) {
return urlBase + "greyflag" + suffix;
}else if (score.equals(Long.valueOf(0))) {
return urlBase + "blueflag" + suffix;
} else if (score.compareTo(Long.valueOf(25)) < 0 ) {
return urlBase + "greenflag" + suffix;
Expand Down
Binary file added tool/src/webapp/images/greyflag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e8909fa

Please sign in to comment.