Commit ba92d1ce authored by Thomas Löffler's avatar Thomas Löffler

Bootstraps template for listing

* Removes detail view
parent 8252ac78
<div class="tx-certifications">
<section class="container">
<f:render section="main"/>
</div>
\ No newline at end of file
</section>
......@@ -3,16 +3,18 @@
<f:section name="main">
<div class="tx_certifications">
<ul class="cert-tabs">
<f:for each="{chars}" as="label">
<li>
<f:link.action action="list" arguments="{char: label}">{label}</f:link.action>
</li>
</f:for>
</ul>
<small>
<ul class="nav nav-pills nav-justified">
<f:for each="{chars}" as="label">
<li class="nav-item">
<f:link.action class="nav-link{f:if(condition:'{char} == {label}',then:' active')}" action="list" arguments="{char: label}">{label}</f:link.action>
</li>
</f:for>
</ul>
</small>
<div class="cert-panel">
<h2 id="{char}">{char}</h2>
<table>
<table class="table table-striped">
<thead>
<tr>
<th>
......@@ -28,36 +30,18 @@
</thead>
<f:for each="{feUsers}" as="feUser">
<tr>
<f:if condition="{settings.singlePid}">
<f:then>
<td>
<h5>
<f:link.action action="show" pageUid="{settings.singlePid}"
arguments="{user : feUser}">{feUser.lastName}, {feUser.firstName}
</f:link.action>
</h5>
</td>
</f:then>
<f:else>
<td>
<h5>
<f:link.action action="show" arguments="{user : feUser}">{feUser.lastName},
{feUser.firstName}
</f:link.action>
</h5>
</td>
</f:else>
</f:if>
<td>
{feUser.lastName}, {feUser.firstName}
</td>
<td>{feUser.country}</td>
<td>
<ul>
<ul class="list-unstyled">
<f:for each="{feUser.certificates}" as="certificate">
<f:if condition="{0:certificate.allowListing} == {0:'1'}">
<li>{certificate.certificateType.title}:
<f:if condition="{certificate.versionFour}">
<f:then>
<f:translate
key="tx_certifications_domain_model_user.no_expiration"/>
<f:translate key="tx_certifications_domain_model_user.no_expiration"/>
</f:then>
<f:else>
<f:format.date format="d.m.Y" date="{certificate.certificationDate}" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment