Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0 2 schema #38

Merged
10 commits merged into from
Jul 19, 2019
Prev Previous commit
Next Next commit
New validation check: isComponent part 2
  • Loading branch information
jarofgreen committed Jul 19, 2019
commit b9af587c3fa6f4f906f525da6b70f77d3c194615
33 changes: 33 additions & 0 deletions cove_bods/templates/cove_bods/additional_checks_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,39 @@
{{ additional_check.statement }}
</td>
</tr>
{% elif additional_check.type == 'statement_is_component_but_is_after_use_in_component_statement_id' and additional_check.statement_type == 'person' %}
<tr>
<td>
{% blocktrans %}This Person Statement is a component (isComponent) and should appear <strong>before</strong> the primary Ownership-or-control Statement that references it (from componentStatementIDs).{%endblocktrans%}
</td>
<td>
</td>
<td>
{{ additional_check.statement }}
</td>
</tr>
{% elif additional_check.type == 'statement_is_component_but_is_after_use_in_component_statement_id' and additional_check.statement_type == 'entity' %}
<tr>
<td>
{% blocktrans %}This Entity Statement is a component (isComponent) and should appear <strong>before</strong> the primary Ownership-or-control Statement that references it (from componentStatementIDs).{%endblocktrans%}
</td>
<td>
</td>
<td>
{{ additional_check.statement }}
</td>
</tr>
{% elif additional_check.type == 'statement_is_component_but_is_after_use_in_component_statement_id' and additional_check.statement_type == 'ownership_or_control' %}
<tr>
<td>
{% blocktrans %}This Ownership-or-control Statement is a component (isComponent) and should appear <strong>before</strong> the primary Ownership-or-control Statement that references it (from componentStatementIDs).{%endblocktrans%}
</td>
<td>
</td>
<td>
{{ additional_check.statement }}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
Expand Down