Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
208 changes: 168 additions & 40 deletions config/plan-fallback.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/assets/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ code * {
max-width: 100%;
}

.app-issue-guidance__markdown img {
max-width: 100%;
height: auto;
}
Comment thread
pooleycodes marked this conversation as resolved.

.schema-issue {
display: flex;
flex-direction: column;
Expand Down
96 changes: 96 additions & 0 deletions src/assets/static/images/plan-timetable-plan-relationship.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/content/allRowsIssueMessages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ issue_type,allRows_message,dataset
"missing associated entity","{column_name} column must match the reference field in the tree preservation order dataset",tree-preservation-order
"missing associated entity","{column_name} column must match the reference field in the tree preservation order dataset",tree-preservation-zone
"missing associated entity","{column_name} column must match the reference field in the tree preservation order dataset",tree
"missing associated entity","{column_name} column must match the reference field in the relevant plan dataset",plan-timetable
"missing associated entity","All ‘{column_name}’ fields do not match the reference field in the plan dataset",plan-timetable
2 changes: 1 addition & 1 deletion src/content/entityIssueMessages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ issue_type,singular_message,plural_message,dataset
"missing associated entity","1 entry with tree-preservation-order field must match the reference field in the tree preservation order dataset","{num_entries} entries with tree-preservation-order field must match the reference field in the tree preservation order dataset",tree-preservation-order
"missing associated entity","1 entry with tree-preservation-order field must match the reference field in the tree preservation order dataset","{num_entries} entries with tree-preservation-order field must match the reference field in the tree preservation order dataset",tree-preservation-zone
"missing associated entity","1 entry with tree-preservation-order field must match the reference field in the tree preservation order","{num_entries} entries with tree-preservation-order field must match the reference field in the tree preservation order",tree
"missing associated entity","1 entry with plan field must match the reference field in the relevant plan","{num_entries} entries with plan field must match the reference field in the relevant plan",plan-timetable
"missing associated entity","1 ‘{column_name}’ field does not match the reference field in the plan dataset","{num_entries} ‘{column_name}’ fields do not match the reference field in the plan dataset",plan-timetable
2 changes: 1 addition & 1 deletion src/content/fieldIssueMessages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ issue_type,singular_message,plural_message,dataset
"missing associated entity","{column_name} must match the reference field in the tree preservation order dataset","{num_entries} entries with {column_name} field must match the reference field in the tree preservation order dataset",tree-preservation-order
"missing associated entity","{column_name} must match the reference field in the tree preservation order dataset","{num_entries} entries with {column_name} field must match the reference field in the tree preservation order dataset",tree-preservation-zone
"missing associated entity","{column_name} must match the reference field in the tree preservation order","{num_entries} entries with {column_name} field must match the reference field in the tree preservation order",tree
"missing associated entity","{column_name} must match the reference field in the relevant plan","{num_entries} entries with {column_name} field must match the reference field in the relevant plan",plan-timetable
"missing associated entity","{column_name}’ field does not match the reference field in the plan dataset","{num_entries} {column_name}’ fields do not match the reference field in the plan dataset",plan-timetable
6 changes: 4 additions & 2 deletions src/views/includes/_issue-guidance.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

{% if issueSpecification %}
{% set issueSpecificationInsetHtml %}
<div>
<div class="app-issue-guidance">
<h3 class="govuk-heading-m">{{ issueSpecification.field }}</h3>

{% if issueSpecification.guidance %}
{{ issueSpecification.guidance | govukMarkdown | safe }}
<div class="app-issue-guidance__markdown">
{{ issueSpecification.guidance | govukMarkdown | safe }}
</div>
{% endif %}
</div>
{% endset %}
Expand Down
Loading