Skip to content

Commit

Permalink
enable national data to appear on audit question screen
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Sep 7, 2023
1 parent 7531a20 commit 8985174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ <h3 class="mb-4 mb-md-5 text-success">
<h2 class="h4 mb-0 mw-40em">
{{ q_form.question_obj.number_and_part }}. {{ q_form.question_obj.description }}
{% if q_form.question_obj.how_marked == "foi" %}(FOI){% endif %}
{% if q_form.question_obj.how_marked == "national_data" %}(National Data){% endif %}
</h2>
</legend>
<div class="d-sm-flex mx-n3 text-muted">
Expand Down
2 changes: 1 addition & 1 deletion crowdsourcer/views/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AuthorityAuditSectionQuestions(BaseQuestionView):
response_type = "Audit"
log_start = "Audit form"
title_start = "Audit - "
how_marked_in = ["volunteer", "national_volunteer", "foi"]
how_marked_in = ["volunteer", "national_volunteer", "foi", "national_data"]

def get_initial_obj(self):
initial = super().get_initial_obj()
Expand Down

0 comments on commit 8985174

Please sign in to comment.