#86 Edit document
* adds support for editing of documents * adds buttons for intervention
This commit is contained in:
@@ -50,5 +50,5 @@ def remove_document(request: HttpRequest, doc: AbstractDocument):
|
||||
form = RemoveModalForm(request.POST or None, instance=doc, request=request)
|
||||
return form.process_request(
|
||||
request=request,
|
||||
msg_success=DOCUMENT_REMOVED_TEMPLATE.format(title)
|
||||
msg_success=DOCUMENT_REMOVED_TEMPLATE.format(title),
|
||||
)
|
||||
@@ -65,6 +65,7 @@ REVOCATION_REMOVED = _("Revocation removed")
|
||||
# DOCUMENTS
|
||||
DOCUMENT_REMOVED_TEMPLATE = _("Document '{}' deleted")
|
||||
DOCUMENT_ADDED = _("Document added")
|
||||
DOCUMENT_EDITED = _("Document edited")
|
||||
|
||||
# Edited
|
||||
EDITED_GENERAL_DATA = _("Edited general data")
|
||||
|
||||
Reference in New Issue
Block a user