ninegate
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit

This commit is contained in:
2023-01-23 09:46:34 +01:00
parent 46c3f9ca12
commit 800945e44b
67 changed files with 3792 additions and 4288 deletions

View File

@ -52,10 +52,12 @@
{% if form.isworkgroup is defined %}
{{ form_row(form.isworkgroup) }}
{% endif %}
<div id="blockisopen">
{% if form.pagetemplate is defined %}
{{ form_row(form.pagetemplate) }}
{% endif %}
{{ form_row(form.isopen) }}
</div>
{{ form_row(form.description) }}
@ -95,8 +97,16 @@
});
function showhide() {
if($("#group_isworkgroup").val()==0) $("#blockisopen").hide();
else $("#blockisopen").show();
if($("#group_isworkgroup").val()==0) {
$("#groupfield_group_isopen").hide();
$("#groupfield_group_pagetemplate").hide();
}
else {
$("#groupfield_group_isopen").show();
$("#groupfield_group_pagetemplate").show();
}
}
</script>

View File

@ -2,8 +2,13 @@
{% block body %}
<h1 class="page-header">Membres du Groupe = {{ group.label }}</h1>
<a class="btn btn-secondary" href={{ path('app_'~access~'_group') }}>Fermer</a>
{% if idpage=="" %}
<a class="btn btn-secondary" href={{ path('app_'~access~'_group') }}>Fermer</a>
{% else %}
<a class="btn btn-secondary" href={{ path('app_home',{id:idpage}) }}>Fermer</a>
{% endif %}
<br><br>
<div class="row">