You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value: "Will be LOST - this field exists on “#{@old_type.label}” but not on “#{@new_type.label}”.",
32
+
value: "Will be <strong>deleted</strong>. A ‘#{@new_type.label}’ does not have a ‘#{schema['title'] || key.humanize}’ field.".html_safe,
28
33
}
29
34
end
30
35
31
36
@new_property_items=added_prop_keys.mapdo |key|
32
37
schema=@new_type.properties[key]
33
38
{
34
39
field: schema["title"] || key.humanize,
35
-
value: "Will need POPULATING - this field exists on “#{@new_type.label}” but not on “#{@old_type.label}”. It will be blank after the change.",
40
+
value: "Will need to be <strong>added</strong>. A ‘#{@new_type.label}’ has a ‘#{schema['title'] || key.humanize}’ field. This field will be blank after the change.".html_safe,
value: "Will be LOST - this association exists on “#{@old_type.label}” but not on “#{@new_type.label}”.",
43
-
}
44
-
end
44
+
@lost_association_items=build_association_items(removed_assoc_keys,proc{ |field| "Will be <strong>deleted</strong>. A ‘#{@new_type.label}’ does not have a ‘#{field}’ association.".html_safe})
45
+
@new_association_items=build_association_items(added_assoc_keys,proc{ |field| "Will need to be <strong>added</strong>. A ‘#{@new_type.label}’ has a ‘#{field}’ association. This field will be blank after the change.".html_safe})
46
+
@common_association_items=build_association_items(common_assoc_keys,proc{"These associations will be carried over, you will not have to fill them in again."})
Copy file name to clipboardExpand all lines: app/models/configurable_document_types/government_response.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"key": "government_response",
3
3
"title": "Government response",
4
-
"description": "Government statements in response to media coverage, such as rebuttals and ‘myth busters’. Do not use for: statements to Parliament. Use the “Speech” format for those.",
4
+
"description": "Government statements in response to media coverage, such as rebuttals and ‘myth busters’. Do not use for: statements to Parliament. Use the ‘Speech’ format for those.",
Copy file name to clipboardExpand all lines: app/models/configurable_document_types/press_release.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"key": "press_release",
3
3
"title": "Press release",
4
-
"description": "Unedited press releases as sent to the media, and official statements from the organisation or a minister. Do not use for: statements to Parliament. Use the “Speech” format for those.",
4
+
"description": "Unedited press releases as sent to the media, and official statements from the organisation or a minister. Do not use for: statements to Parliament. Use the ‘Speech’ format for those.",
Copy file name to clipboardExpand all lines: app/models/publication_type.rb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,20 @@ class PublicationType
8
8
FORMAT_ADVICE={
9
9
1=>"<p>A policy paper explains the government’s position on something. It doesn’t include instructions on how to carry out a task, only the policy itself and how it’ll be implemented.</p><p>Read the <a href=\"https://www.gov.uk/guidance/content-design/content-types#policy-paper\" target=\"_blank\" class=\"govuk-link\">policy papers guidance</a> in full.</p>",
10
10
2=>"<p>Cost-benefit analyses and other assessments of the impact of proposed initiatives, or changes to regulations or legislation.</p>",
11
-
3=>"<p>Non-statutory guidance publications. Includes: manuals, handbooks and other documents that offer advice.</p><p>Do not use for: statutory guidance (use the “statutory guidance” publication type) or guidance about completing a form (attach to same publication as the form itself).</p>",
12
-
4=>"<p>Pro-forma or form documents that need to be completed by the user. Can include guidance on how to fill in forms (ie no need to create a separate “guidance” publication for form instructions).</p>",
11
+
3=>"<p>Non-statutory guidance publications. Includes: manuals, handbooks and other documents that offer advice.</p><p>Do not use for: statutory guidance (use the ‘statutory guidance’ publication type) or guidance about completing a form (attach to same publication as the form itself).</p>",
12
+
4=>"<p>Pro-forma or form documents that need to be completed by the user. Can include guidance on how to fill in forms (ie no need to create a separate ‘guidance’ publication for form instructions).</p>",
13
13
5=>"<p>Statistics governed by the UK Statistics Authority and produced by members of the Government Statistical Service.</p>",
14
14
6=>"<p>Research and evaluation papers. Can be conducted by government, commissioned by government or independent of government.</p>",
15
-
7=>"<p>Publications about what an organisation does (eg business plans, annual reports, accounts), or any plans that affect the organisation (eg structural reform plans, efficiency reviews). Corporate reports are shown automatically on the organisation’s “What we do” page.</p>",
16
-
8=>"<p>Ministerial or departmental responses (eg to campaign letters), announcements, or statements;regularly issued circulars or bulletins (eg fire service circulars), official correspondence to professionals (eg “Dear chief planning officer” letters);letters to individuals or organisations that are published to share with a wider audience than their original recipient;online versions of e-bulletins or newsletters.</p><p>Do not use for: minutes, agendas or other meeting papers. Attach them to relevant “policy detail”, “team” or “our governance” pages instead.</p>",
15
+
7=>"<p>Publications about what an organisation does (eg business plans, annual reports, accounts), or any plans that affect the organisation (eg structural reform plans, efficiency reviews). Corporate reports are shown automatically on the organisation’s ‘What we do’ page.</p>",
16
+
8=>"<p>Ministerial or departmental responses (eg to campaign letters), announcements, or statements;regularly issued circulars or bulletins (eg fire service circulars), official correspondence to professionals (eg ‘Dear chief planning officer‘ letters);letters to individuals or organisations that are published to share with a wider audience than their original recipient;online versions of e-bulletins or newsletters.</p><p>Do not use for: minutes, agendas or other meeting papers. Attach them to relevant ‘policy detail’, ’team’ or ‘our governance’ pages instead.</p>",
17
17
10=>"<p>Information made available about departmental operations with the intent of making government more transparent.Includes organisation charts, staff survey results, departmental spending, salaries, contracts, meetings with ministers, etc.</p><p>Do not use for: FOI responses.</p>",
18
18
12=>"<p>Responses to Freedom of Information requests. Ensure the title describes specifically what the request is about.</p>",
19
19
13=>"<p>Leaflets, posters, fact sheets and marketing collateral.</p>",
20
20
14=>"<p>Reviews, inquiries and other reports commissioned from or conducted by independent (ie non-governmental) bodies for consideration by the government.</p>",
21
21
15=>"<p>Official Statistics that have been produced in accordance with the Code of Practice for Official Statistics, which is indicated using the Accredited Official Statistics quality mark.</p>",
22
22
17=>"<p>Drawn maps and geographical data.</p>",
23
23
18=>"<p>Treaties and memoranda of understanding between the UK and other nations.</p>",
24
-
19=>"<p>Guidance which relevant users are legally obliged to follow. (For non-statutory guidance publications, use the “guidance” sub-type).</p>",
24
+
19=>"<p>Guidance which relevant users are legally obliged to follow. (For non-statutory guidance publications, use the ‘guidance’ sub-type).</p>",
25
25
20=>"<p>Permit and licence applications published temporarily for public awareness.</p>",
26
26
21=>"<p>Formal decisions by tribunals, regulators or adjudicators (including courts and Secretaries of State).</p>",
27
27
22=>"<p>Regulations imposed by an independent regulatory authority only.</p><p>Do not use for: statutory guidance.</p>",
<%=govspeak_to_html("^This is a read-only view of the current (#{@edition.state}) edition. To edit, please return to the summary page and choose \"Create new edition\".^")unless@edition.editable?%>
Copy file name to clipboardExpand all lines: app/views/admin/speeches/_form.html.erb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<divclass="format-advice">
2
2
<pclass="govuk-body"><strong>Use this format for:</strong> Public speeches by ministers or other named spokespeople, ministerial statements to Parliament and bylined articles.</p>
3
-
<pclass="govuk-body">Do not use for: statements <em>not</em> made to Parliament (use the “news article” format for those).</p>
3
+
<pclass="govuk-body">Do not use for: statements <em>not</em> made to Parliament (use the ‘news article’ format for those).</p>
0 commit comments