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

Delete static page (HHU #427) #566

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

JessicaBachmann
Copy link

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