30 lines
713 B
Twig
30 lines
713 B
Twig
{% extends "base.html.twig" %}
|
|
|
|
{% block body %}
|
|
|
|
{% if app.user %}
|
|
<div class="container">
|
|
<div class="card mt-5">
|
|
<div class="card-header">
|
|
<h2>GITEA USER</h2>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
{% for key, attribute in app.session.get("giteauser") %}
|
|
{% 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 %}
|
|
|
|
|