|
|
@@ -11,12 +11,12 @@
|
|
|
<f:comment><!-- Central column --></f:comment>
|
|
|
<div class="content">
|
|
|
<f:comment><!-- All members --></f:comment>
|
|
|
- <div class="ot-structures">
|
|
|
+ <div class="ot-structures map-view">
|
|
|
|
|
|
<ot:organizations.getChildren as="structuresCollection"
|
|
|
organizationId="{settings.organizationId}">
|
|
|
|
|
|
- <div class="structure-col">
|
|
|
+ <div class="structure-col structure-col-map">
|
|
|
<div id="structure-map-wrapper">
|
|
|
<div id="structure-map">
|
|
|
<f:for each="{structuresCollection.members}" as="structure" iteration="it">
|
|
|
@@ -45,9 +45,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="structure-col">
|
|
|
- <h2><f:translate key="member-companies"/></h2>
|
|
|
-
|
|
|
+ <div class="structure-col structure-col-results">
|
|
|
+ <header>
|
|
|
+ <h2><f:translate key="member-companies"/></h2>
|
|
|
+ <a href="#" class="activate-map-view"><f:translate key="map"/></a>
|
|
|
+ <a href="#" class="activate-list-view"><f:translate key="list"/></a>
|
|
|
+ </header>
|
|
|
<div class="structure-search">
|
|
|
<form>
|
|
|
<div class="search-loc-wrapper">
|
|
|
@@ -69,12 +72,15 @@
|
|
|
</select>
|
|
|
<select class="search-province">
|
|
|
<option value="-1">Région</option>
|
|
|
+ <option value="0">Alsace</option>
|
|
|
</select>
|
|
|
<select class="search-federation">
|
|
|
<option value="-1">Fédération</option>
|
|
|
+ <option value="0">CMF</option>
|
|
|
</select>
|
|
|
<select class="search-distance-max">
|
|
|
<option value="-1">Distance</option>
|
|
|
+ <option value="0">100</option>
|
|
|
</select>
|
|
|
|
|
|
<button class="reset-search">Réinitialiser</button>
|
|
|
@@ -95,39 +101,57 @@
|
|
|
|
|
|
<f:for each="{structuresCollection.members}" as="structure">
|
|
|
<div class="structure-card" data-id="{structure.id}">
|
|
|
- <div class="structure-preview">
|
|
|
-
|
|
|
- <div class="structure-poster">
|
|
|
- <f:if condition="{structure.logo}">
|
|
|
- <f:then>
|
|
|
- <img src='{structure.logo}' alt="poster" />
|
|
|
- </f:then>
|
|
|
- <f:else>
|
|
|
- <f:image src="EXT:ot_templating/Resources/Public/media/event-default.jpg" alt="poster" />
|
|
|
- </f:else>
|
|
|
- </f:if>
|
|
|
+
|
|
|
+ <div class="structure-poster">
|
|
|
+ <f:if condition="{structure.logo}">
|
|
|
+ <f:then>
|
|
|
+ <img src='{structure.logo}' alt="poster" />
|
|
|
+ </f:then>
|
|
|
+ <f:else>
|
|
|
+ <f:image src="EXT:ot_templating/Resources/Public/media/event-default.jpg" alt="poster" />
|
|
|
+ </f:else>
|
|
|
+ </f:if>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="structure-details">
|
|
|
+ <div class="structure-categories">
|
|
|
+ <f:for each="{structure.categories}" as="category">
|
|
|
+ <span class="structure-category">
|
|
|
+ <f:translate key="{category}"/>
|
|
|
+ </span>
|
|
|
+ </f:for>
|
|
|
</div>
|
|
|
|
|
|
- <div class="structure-summary">
|
|
|
- <span class="structure-name">
|
|
|
- {structure.name}
|
|
|
- </span>
|
|
|
- <span class="structure-adress">
|
|
|
- {structure.streetAdress}<br/>
|
|
|
- {structure.postalCode} {structure.addressCity}
|
|
|
- </span>
|
|
|
+ <div class="structure-name">
|
|
|
+ {structure.name}
|
|
|
</div>
|
|
|
+ <table class="structure-details-table">
|
|
|
+ <tr class="structure-details-entry structure-address">
|
|
|
+ <td><i class="fas fa-map-marker-alt"></i></td>
|
|
|
+ <td>
|
|
|
+ <f:if condition="{structure.streetAddress}">
|
|
|
+ {structure.streetAddress} -
|
|
|
+ </f:if>
|
|
|
+ {structure.postalCode} {structure.addressCity}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="structure-details-entry structure-federation">
|
|
|
+ <td><i class="fas fa-project-diagram"></i></td>
|
|
|
+ <td>{structure.parentName}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
|
|
|
- <a href="https://{structure.subdomain}.opentalent.fr" class="btn structure-see">
|
|
|
+ <div class="spacer"></div>
|
|
|
+
|
|
|
+ <a target="_blank" class="btn structure-see" href="https://{structure.subdomain}.opentalent.fr">
|
|
|
<span><f:translate key="see-more"/></span>
|
|
|
<i class="fa fa-caret-right" style="margin-left: 5px;"></i>
|
|
|
</a>
|
|
|
</div>
|
|
|
</f:for>
|
|
|
|
|
|
- <f:render partial="Classic/Pagination" arguments="{collection: structuresCollection}"/>
|
|
|
-
|
|
|
+ {ot:pagination(collection: structuresCollection)}
|
|
|
|
|
|
</div>
|
|
|
</div>
|