ninegate
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@ -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>
|
||||
|
||||
|
@ -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">
|
||||
|
Reference in New Issue
Block a user