diff --git a/views/DE/account/updateInformation.pug b/views/DE/account/updateInformation.pug index dc8c609ab58c7da6f6a55154b1ef3cefb66434bf..193b8af470ee57573a0eb3d30315ed706d4369dd 100644 --- a/views/DE/account/updateInformation.pug +++ b/views/DE/account/updateInformation.pug @@ -84,7 +84,7 @@ html(lang="de") p Klicken Sie anschließend auf <i>commit changes</i>, um die Änderungen zu speichern. hr div(class="alert alert-danger" role="alert") <h5><strong>Delete Website</strong></h5> - p This action will permanently delete <strong><em>#{information.name}</em></strong> immediately, including its repositories and all related resources, including issues, merge requests, etc. + p This action will permanently delete <strong><em>#{information.name}</em></strong> immediately, including its repositories and all related resources. p Are you ABSOLUTELY SURE you wish to delete this website? button(type="button" class="btn btn-danger mx-2" data-toggle="modal" data-target="#deleteWebsiteConfirmation") Löschen @@ -98,11 +98,12 @@ html(lang="de") h4(class="modal-title" id="modalLabel") Are you ABSOLUTELY SURE? div(class="modal-body") | <p>You are about to permanently delete this website, its repository and all related resources, including content, images, etc.</p> - | <p>Once a website is permanently deleted, it cannot be recovered.</p> - | <p>This action cannot be undone.</p> + | <p>Once a website is permanently deleted, it cannot be recovered. <strong>This action cannot be undone.</strong></p> div(class="modal-footer") - button(type="button" class="btn btn-primary" data-dismiss="modal") Abbrechen, keep website - button(type="button" class="btn btn-danger") Ja, delete website + form(method="POST", action="/deleteProject?_method=DELETE", encType="multipart/form-data") + input(name="id", value=information.id, type="hidden") + button(type="button" class="btn btn-primary" data-dismiss="modal") Abbrechen, keep website + button(type="submit" class="btn btn-danger") Ja, delete website // jQuery script(src="https://code.jquery.com/jquery-3.3.1.min.js") @@ -112,7 +113,7 @@ html(lang="de") // Bootstrap script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous") // M4_LAB - script(src="/js/headfoot.js") + script(src="https://m4lab.hft-stuttgart.de/js/headfoot.js") script. function sendPublishRequest() { $.post("/sendPublishRequest", {projectName: $("#name").val()}, function(resp){