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

Include non-transaction pages in start-button-links table #704

Open
nacnudus opened this issue Sep 3, 2024 · 0 comments
Open

Include non-transaction pages in start-button-links table #704

nacnudus opened this issue Sep 3, 2024 · 0 comments

Comments

@nacnudus
Copy link
Contributor

nacnudus commented Sep 3, 2024

Start buttons can be created in GovSpeak, and in fact any button can be created there. For example:

SELECT
  content.base_path
FROM
  public.content
INNER JOIN
  public.publishing_api_editions_current AS editions
ON
  editions.id = content.edition_id
WHERE
  CONTAINS_SUBSTR(html, "govuk-button")
  AND editions.document_type <> 'transaction'

These should be included in the start-button-links table.

INSERT INTO public.start_button_links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant