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

Add some logic to be used when displaying missing reviews

parent 57a44121
No related branches found
No related tags found
No related merge requests found
...@@ -17,5 +17,6 @@ ...@@ -17,5 +17,6 @@
<th>{{ object.reviews.reviewers_score|default_if_none:'-' }}</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 %}
{# Add logic for showing missing 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 %}
</table> </table>
{% for review in reviews %} {% for review in reviews %}
<tr> <tr class="{% if missing %}no-response{% endif %}">
{% if missing %} {% if missing %}
<td>{{ review }}</td> <td>{{ review }}</td>
<td>-</td> <td>-</td>
......
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