Skip to content
Snippets Groups Projects
Commit db788b8f authored by Joost van Dijk's avatar Joost van Dijk
Browse files

fix template for showing NameID info

There may be a simpler fix for this?
parent a510a67f
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@
{% endif %}
{% if nameid.Format %}
{% set items = items|merge({('Format'|trans) : nameid.format}) %}
{% set items = items|merge({('Format'|trans) : nameid.Format}) %}
{% endif %}
{% if nameid.NameQualifier %}
......@@ -59,9 +59,15 @@
{% set items = items|merge({'SPProvidedID' : nameid.SPProvidedID}) %}
{% endif %}
{% embed '_table.twig' %}
<table id="table_with_attributes" class="attributes pure-table pure-table-striped pure-table-attributes" summary="attribute overview">
{% for name, value in items %}
<tr class="{{ cycle(['odd', 'even'], loop.index0) }}">
<td class="attrname">{{ name }}</td>
<td class="attrname">{{ value }}</td>
</tr>
{% endfor %}
</table><br>
{% endembed %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment