|
|
@@ -4,112 +4,28 @@
|
|
|
<f:comment><!-- Special layout for the Members page --></f:comment>
|
|
|
<f:layout name="Structures" />
|
|
|
|
|
|
+<v:asset.script name="modern-iframe-resizer"
|
|
|
+ path="EXT:ot_templating/Resources/Public/assets/Modern/script/iframeResizer.min.js"
|
|
|
+ standalone="1"
|
|
|
+ rewrite="0" />
|
|
|
+
|
|
|
<section class="t-container st-effect-3">
|
|
|
<div class="wrapper">
|
|
|
|
|
|
<f:comment><!-- Render the header defined in partial/header.html--></f:comment>
|
|
|
<f:render partial="Modern/Header" arguments="{_all}" />
|
|
|
|
|
|
-
|
|
|
<section class="page-section-ptb">
|
|
|
- <div class="container">
|
|
|
- <div class="row">
|
|
|
- <div class="col-sm-12 mt-30">
|
|
|
- <f:comment><!-- All members --></f:comment>
|
|
|
- <h3><f:translate key="member-companies"/></h3>
|
|
|
-
|
|
|
- <div class="ot-structures">
|
|
|
-
|
|
|
- <ot:organizations.getChildren as="structuresCollection"
|
|
|
- organizationId="{settings.organizationId}">
|
|
|
-
|
|
|
-
|
|
|
- <div class="ot-structures">
|
|
|
- <div class="structure-controls">
|
|
|
- <div class="structure-search">
|
|
|
- <form>
|
|
|
- <input type="text"
|
|
|
- name="search-loc"
|
|
|
- placeholder="{f:translate(key: 'where')}?"
|
|
|
- value="{ot:request.getArgument(argument: 'search-loc')}"/>
|
|
|
-
|
|
|
- <f:comment><!--
|
|
|
- Important: if the cache is not disabled,
|
|
|
- then the results won't be updated even after submitting this form
|
|
|
- --></f:comment>
|
|
|
- <input type="hidden"
|
|
|
- name="no_cache"
|
|
|
- value="1">
|
|
|
-
|
|
|
- <button name="search-submit"><f:translate key="find"/></button>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="structure-map">
|
|
|
- <f:for each="{structuresCollection.members}" as="structure" iteration="it">
|
|
|
- <f:if condition="{structure.longitude}">
|
|
|
- <i class="item-geodata" style="display: none;"
|
|
|
- data-id="{structure.id}"
|
|
|
- data-long="{structure.longitude}"
|
|
|
- data-lat="{structure.latitude}"
|
|
|
- data-label="<b>{structure.name}</b><br/>{structure.streetAdress}<br/>{structure.postalCode} {structure.addressCity}">
|
|
|
- </i>
|
|
|
- </f:if>
|
|
|
- </f:for>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="structure-results">
|
|
|
- <f:if condition="{structuresCollection.totalItems} == 0">
|
|
|
- <span><f:translate key="no-result"/></span>
|
|
|
- </f:if>
|
|
|
-
|
|
|
- <f:for each="{structuresCollection.members}" as="structure">
|
|
|
- <div class="structure" 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>
|
|
|
-
|
|
|
- <div class="structure-summary">
|
|
|
- <span class="structure-name">
|
|
|
- {structure.name}
|
|
|
- </span>
|
|
|
- <span class="structure-adress">
|
|
|
- {structure.streetAdress}<br/>
|
|
|
- {structure.postalCode} {structure.addressCity}
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <a target="_blank" href="https://{structure.subdomain}.opentalent.fr" class="structure-see">
|
|
|
- <i class="fa fa-plus" style="margin-right: 5px;"></i>
|
|
|
- <span><f:translate key="see"/></span>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- </f:for>
|
|
|
-
|
|
|
- {ot:pagination(collection: structuresCollection)}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </ot:organizations.getChildren>
|
|
|
-
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div class="ot-structures">
|
|
|
+ <iframe src="https://frames.opentalent.fr/structures/?parent={settings.organizationId}&theme={ot:template.getPreference(key: 'themeColor')}"
|
|
|
+ referrerpolicy="strict-origin"
|
|
|
+ style="border: none;"
|
|
|
+ onload="iFrameResize()"
|
|
|
+ ></iframe>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </section>
|
|
|
|
|
|
<f:comment><!-- Render the footer defined in partial/footer.html--></f:comment>
|
|
|
<f:render partial="Modern/Footer" />
|
|
|
-
|
|
|
</div>
|
|
|
</section>
|