add column full_score_reached, fill it accordingly and show information in the rfc index

This commit is contained in:
Ralf Teusner
2018-01-31 11:23:30 +01:00
parent e934a29a45
commit efc271c4ed
6 changed files with 37 additions and 10 deletions

View File

@ -27,6 +27,9 @@ h1 = RequestForComment.model_name.human(count: 2)
- if request_for_comment.solved?
td
span class="fa fa-check" aria-hidden="true"
- elsif request_for_comment.full_score_reached
td
span class="fa fa-check" style="color:darkgrey" aria-hidden="true"
- else
td = ''
td = link_to(request_for_comment.exercise.title, request_for_comment)