block / unblock && sprint closed

This commit is contained in:
2024-04-12 16:30:36 +02:00
parent 0acb4e1777
commit 9dc93daab8
15 changed files with 343 additions and 26 deletions

View File

@ -3,7 +3,7 @@
{% block body %}
{{ form_start(form) }}
{{ form_widget(form.submit) }}
<button class="btn btn-secondary" onClick="closeModal();">Annuler</button>
<a class="btn btn-secondary" onClick="closeModal();">Annuler</a>
{% if mode=="update" %}
<a href="{{ path('app_scrumsprint_delete',{'id':scrumsprint.id}) }}"
@ -36,6 +36,7 @@
{{ form_row(form.name) }}
{{ form_row(form.giteamilestone) }}
{{ form_row(form.closed) }}
{{ form_end(form) }}
{% endblock %}
@ -46,6 +47,6 @@
});
function closeModal() {
window.parent.$("#mymodaltype").modal('hide');
window.parent.$("#mymodalsprint").modal('hide');
}
{% endblock %}