result.append(Table.link(url_for("delete_protocol",protocol_id=protocol.id),"Löschen",confirm="Bist du dir sicher, dass du das Protokoll {} löschen möchtest?".format(protocol.get_identifier())))
else:
result.append("")
else:
result.extend(["",""])
returnresult
...
...
@@ -210,10 +213,11 @@ class ProtocolTypeTable(SingleValueTable):
action_part=[Table.link(url_for("delete_type",protocoltype_id=self.value.id),"Löschen",confirm="Bist du dir sicher, dass du den Protokolltype {} löschen möchtest?".format(self.value.name))]
links.append(Table.link(url_for("delete_document",document_id=document.id),"Löschen",confirm="Bist du dir sicher, dass du das Dokument {} löschen willst?".format(document.name)))