Skip to content

Limit static pages to the managed set - #56

Open
gheorghelupu17 wants to merge 1 commit into
mainfrom
issue-51-static-pages
Open

gheorghelupu17 wants to merge 1 commit into
mainfrom
issue-51-static-pages

Conversation

@gheorghelupu17

Copy link
Copy Markdown
Collaborator

Summary

  • The static pages list is only terms, privacy, home, about, and contact. Cookie policy and accessibility are no longer in that list.
  • Administrators can edit the existing text and images. They cannot create or delete pages.
  • The public home, about, and contact pages use that saved copy.

Closes #51

Test plan

  • In admin, open Static pages and confirm only the five pages appear, with no create or delete action.
  • Edit the about page body and confirm /ro/about shows the new text.
  • php artisan test --compact tests/Feature/StaticPagesAdminTest.php

Made with Cursor

…copy editable.

Co-authored-by: Cursor <cursoragent@cursor.com>
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

Successfully merging this pull request may close these issues.

(Admin) Add all static pages and adjust their way of working

1 participant