Skip to content
Snippets Groups Projects
Commit 57a44121 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Remove the displayed 'None' if no reviews present

parent 7895de8f
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<tr> <tr>
<th>OTF</th> <th>OTF</th>
<th>{{ object.reviews.staff_reccomendation|traffic_light }}</th> <th>{{ object.reviews.staff_reccomendation|traffic_light }}</th>
<th>{{ object.reviews.staff_score }}</th> <th>{{ object.reviews.staff_score|default_if_none:'-' }}</th>
</tr> </tr>
{% include 'funds/includes/review_table_row.html' with reviews=staff_reviews %} {% include 'funds/includes/review_table_row.html' with reviews=staff_reviews %}
{% include 'funds/includes/review_table_row.html' with reviews=object.missing_staff_reviews missing=True %} {% include 'funds/includes/review_table_row.html' with reviews=object.missing_staff_reviews missing=True %}
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<table> <table>
<tr> <tr>
<th>Reviewers</th> <th>Reviewers</th>
<th>{{ object.reviews.reviewer_reccomendation|traffic_light }}</th> <th>{{ object.reviews.reviewers_reccomendation|traffic_light }}</th>
<th>{{ object.reviews.reviewer_score }}</th> <th>{{ object.reviews.reviewers_score|default_if_none:'-' }}</th>
</tr> </tr>
{% include 'funds/includes/review_table_row.html' with reviews=reviewer_reviews %} {% include 'funds/includes/review_table_row.html' with reviews=reviewer_reviews %}
{% include 'funds/includes/review_table_row.html' with reviews=object.missing_reviewer_reviews missing=True %} {% include 'funds/includes/review_table_row.html' with reviews=object.missing_reviewer_reviews missing=True %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment