{% extends 'base.html.twig' %} {% block title %}{{app.session.get("appname")}} - {{child.name}}{% endblock %} {% block useractions %} {% if is_granted('ROLE_ADMIN') %}
  • {% endif %} {% endblock %} {% block body %} {% if child.childtype.id==16 %} {% set filename="/"~appAlias~"/uploads/child/"~child.id~"/"~child.filename %} {% else %} {% set filename=child.url %} {% endif %}

    {{child.name}}

    {% if child.subname %}
    {{child.subname}}
    {% endif %} {%if child.image %} {% set background=child.image|replace({"**appAlias**":appAlias}) %}
    {% endif %}
    {{ child.name}}
    {{ child.subname}}
    {% for attributorder in child.childtype.childtypeattributs %} {% if attributorder.childattribut.name in child.attributs|keys and not child.attributs[attributorder.childattribut.name] is empty %} {{ attributorder.childattribut.label }} = {{ child.attributs[attributorder.childattribut.name]}}
    {% endif %} {% endfor %} {{child.description|raw}} {% set separator="g" %} {%if otherpages %}
    {% if separator=="d" %} {% set separator="g" %} {%else%} {% set separator="d" %} {%endif%}

    Articles associƩs

    {% for page in otherpages %} {% set style="" %} {%if page.image %} {% set background=page.image|replace({"**appAlias**":appAlias}) %} {% set style="height:auto;background-position: center ; background-size: cover; background-image: url("~background~")" %} {%endif%}
    {{ page.name }}
    {% endfor %}
    {% endif %}
    {% endblock %} {% block localscript %} {% endblock %}