Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

Delete static page (HHU #427)#566

Open
JessicaBachmann wants to merge 4 commits intoliqd:developfrom
JessicaBachmann:delete-static-page
Open

Delete static page (HHU #427)#566
JessicaBachmann wants to merge 4 commits intoliqd:developfrom
JessicaBachmann:delete-static-page

Conversation

@JessicaBachmann
Copy link
Copy Markdown

allows deletion of static pages (fixes HHU #427)

it creates a new link to the edit static pages html, this link generates a confirmation html (ask_delete)
which deletes a specific static page from database

changed files:
#2 routing rules added for ask_delete and delete

../config/routing.py 2 routing rules added for ask_delete and delete

new template (general adhocracy no theme) for delete confirmation

../templates/static/ask_delete.html

added delete link to edit template

../templates/static/edit.html
#2 new function in static controller ask_delete and delete

../controllers/static.py

new function to delete static page in database

../model/staticpage.py

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant