nineskeletor/src/nineskeletor-1.0/templates/Home/home.html.twig

34 lines
827 B
Twig

{% extends "base.html.twig" %}
{% block body %}
{% if wssuse and app.user %}
{{ render(path("app_wss_sample")) }}
{% endif %}
<div class="card-body">
{% if app.user %}
<div class="container">
<div class="card mt-5">
<div class="card-header">
<h2>Atttribut SSO</h2>
</div>
<div class="card-body">
{% for key, attribute in app.session.get("attributes") %}
{% if attribute is iterable %}
{% for value in attribute %}
<strong>{{ key }}</strong> = {{ value }}<br>
{% endfor %}
{% else %}
<strong>{{ key }}</strong> = {{ attribute }}<br>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% endblock %}