from django import template

register = template.Library()


@register.simple_tag
def get_ground_truth(obj, image, question):
    """Get the auth token for the user."""
    ground_truths = obj.statistics["ground_truths"]
    return ground_truths[image][question]

app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
from django import template

register = template.Library()


@register.simple_tag
def get_ground_truth(obj, image, question):
    """Get the ground truth value for the image/question combination in reader
    study obj."""
    ground_truths = obj.statistics["ground_truths"]
    return ground_truths[image][question]

app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
diff --git a/app/grandchallenge/reader_studies/templates/reader_studies/readerstudy_detail.html b/app/grandchallenge/reader_studies/templates/reader_studies/readerstudy_detail.html
index 9b1262545f..00d36e7f2a 100644
--- a/app/grandchallenge/reader_studies/templates/reader_studies/readerstudy_detail.html
+++ b/app/grandchallenge/reader_studies/templates/reader_studies/readerstudy_detail.html
@@ -64,7 +64,7 @@ <h1>Reader Study {{ object.title }}</h1>
 
     <p>{{ object.description }}</p>
 
-    {% if user_score.score__sum is not None %}
+    {% if user_score.score__sum is not None and progress.hangings == 100.0 %}
         <div class="alert alert-info" role="alert">
             You have completed this reader study. You have scored {{ user_score.score__sum|floatformat }} points
             out of a possible {{ answerable_questions|floatformat }} points,
diff --git a/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py b/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
index d894b1f608..75257c0757 100644
--- a/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
+++ b/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
@@ -5,6 +5,7 @@
 
 @register.simple_tag
 def get_ground_truth(obj, image, question):
-    """Get the auth token for the user."""
+    """Get the ground truth value for the image/question combination in reader
+    study obj."""
     ground_truths = obj.statistics["ground_truths"]
     return ground_truths[image][question]

Reader study completed message is visible when study is not completed
![Screenshot_20200209_164820](https://user-images.githubusercontent.com/12661555/74105211-1931f400-4b5c-11ea-96d8-6b4663386d09.png)

