mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
21 lines
614 B
Twig
21 lines
614 B
Twig
<table class="{{ class|default('') }}">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="key">{{ labels is defined ? labels[0] : 'Key' }}</th>
|
|
<th scope="col">{{ labels is defined ? labels[1] : 'Value' }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for key in bag.keys|sort %}
|
|
<tr>
|
|
<th>{{ key }}</th>
|
|
<td>{{ profiler_dump(bag.get(key), maxDepth=maxDepth|default(0)) }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="2">(no data)</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|