Skip to content
Snippets Groups Projects
Commit b24bd71a authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASk] merge

parents 6128fd53 bf4a4b34
No related branches found
Tags 4.1.2
No related merge requests found
<?php
namespace SGalinski\SgJobs\Domain\Repository;
/***************************************************************
* Copyright notice
*
* (c) sgalinski Internet Services (https://www.sgalinski.de)
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3\CMS\Extbase\Persistence\Repository;
/**
* Contact Repository
*/
class ContactRepository extends Repository {
}
......@@ -23,9 +23,6 @@
<f:translate key="backend.noJobsMessage" />
</p>
</f:if>
<p>
</p>
<f:render partial="CreateJob" arguments="{pageUid:pageUid}" />
</f:then>
<f:else>
......
......@@ -246,6 +246,10 @@
<source>Area</source>
<target>Bereich</target>
</trans-unit>
<trans-unit id="frontend.description" approved="yes">
<source>Description</source>
<target>Beschreibung</target>
</trans-unit>
<trans-unit id="frontend.detail.back" approved="yes">
<source>Back</source>
<target>Zurück</target>
......
......@@ -186,6 +186,9 @@
<trans-unit id="frontend.area">
<source>Area</source>
</trans-unit>
<trans-unit id="frontend.description">
<source>Description</source>
</trans-unit>
<trans-unit id="frontend.detail.back">
<source>Back</source>
</trans-unit>
......
<f:form id="sgjobs-filter" action="index" controller="Joblist" method="get" objectName="filters" object="{filters}">
<label for="filter-countries">
<f:translate key="frontend.filter.countries" />
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedCountry}" property="filterCountry" optionValueField="value" options="{countries}" id="filter-countries" />
<label for="filter-countries">
<f:translate key="frontend.filter.locations" />
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedLocation}" property="filterLocation" optionValueField="value" options="{cities}" id="filter-locations" />
<label for="filter-companies">
<f:translate key="frontend.filter.companies" />
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedCompany}" property="filterCompany" optionValueField="value" options="{companies}" id="filter-companies" />
<label for="filter-areas">
<f:translate key="frontend.filter.areas" />
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedArea}" property="filterArea" optionValueField="value" options="{areas}" id="filter-areas" />
<f:form.hidden value="{limit}" id="filter-limit" />
<f:form.hidden id="filter-recordPageId" name="recordPageId" value="{recordPageId}" />
</f:form>
<div class="default-content-element">
<div class="pia-card">
<f:form id="sgjobs-filter" action="index" controller="Joblist" method="get"
objectName="filters" object="{filters}">
<f:form.hidden value="{limit}" id="filter-limit"/>
<f:form.hidden id="filter-recordPageId" name="recordPageId" value="{recordPageId}"/>
<div class="pia-filter-bar">
<div class="pia-filter-bar-form-control">
<label for="filter-countries">
<f:translate key="frontend.filter.countries"/>
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedCountry}"
property="filterCountry" optionValueField="value" options="{countries}"
id="filter-countries"/>
</div>
<div class="pia-filter-bar-form-control">
<label for="filter-countries">
<f:translate key="frontend.filter.locations"/>
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedLocation}"
property="filterLocation" optionValueField="value" options="{cities}"
id="filter-locations"/>
</div>
<div class="pia-filter-bar-form-control">
<label for="filter-companies">
<f:translate key="frontend.filter.companies"/>
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedCompany}"
property="filterCompany" optionValueField="value" options="{companies}"
id="filter-companies"/>
</div>
<div class="pia-filter-bar-form-control">
<label for="filter-areas">
<f:translate key="frontend.filter.areas"/>
</label>
<f:form.select class="sgjobs-select form-control" multiple="0" size="1" value="{selectedArea}"
property="filterArea" optionValueField="value" options="{areas}" id="filter-areas"/>
</div>
</div>
</f:form>
</div>
</div>
<div>
<h3>{job.title}</h3>
<h4>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
- {job.company.0.city}
</h4>
</div>
<div class="col-md-6 col-sm-6 col-cs-12">
<div class="default-content-element">
<article class="pia-card">
<div class="pia-card-header">
<h2>{job.title}</h2>
<h3>
<f:for each="{job.company}" as="company">{company.city}</f:for>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
</h3>
</div>
<div class="pia-card-body">
<h3><f:translate key="frontend.entry_date" /></h3>
<p>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
</p>
<div>
<table>
<tr>
<td>
<f:translate key="frontend.location" />
</td>
<td>
{job.company.0.country} - {job.company.0.city}
</td>
</tr>
<tr>
<td>
<f:translate key="frontend.area" />
</td>
<td>
{job.area}
</td>
</tr>
<tr>
<td>
<f:translate key="frontend.organisation" />
</td>
<td>
{job.company.0.name}
</td>
</tr>
<tr>
<td>
<f:translate key="frontend.entry_date" />
</td>
<td>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
</td>
</tr>
</table>
</div>
<h3><f:translate key="frontend.location" /></h3>
<p>
{job.company.0.country} - {job.company.0.city}
</p>
<div>
<f:translate key="frontend.task" />
<f:format.raw>
{job.task}
</f:format.raw>
</div>
<h3><f:translate key="frontend.area" /></h3>
<p>{job.area}</p>
<div>
<f:translate key="frontend.qualification" />
<f:format.raw>
{job.qualification}
</f:format.raw>
</div>
<h3><f:translate key="frontend.organisation" /></h3>
<p>{job.company.0.name}</p>
<div>
<f:link.action pageUid="{settings.applyPage}" controller="Joblist" action="applyForm"
pluginName="JobApplication" arguments="{uid: job.uid}">
<f:translate key="frontend.applyNow" />
</f:link.action>
</div>
<h3><f:translate key="frontend.task" /></h3>
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.task}</f:format.html>
<div>
<h3><f:translate key="frontend.email" /></h3>
<p>
{job.contact.email}
</p>
</div>
<f:debug>{job}</f:debug>
<div>
<h3><f:translate key="frontend.apply_by_mail" /></h3>
{job.company.0.name}
<br />
{job.contact.firstName} {job.contact.0.lastName}
<br />
{job.company.0.street}
<br />
{job.company.0.city}
<br />
{job.contact.email}
<br />
{job.contact.phone}
<h3><f:translate key="frontend.qualification" /></h3>
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.qualification}</f:format.html>
<h3><f:translate key="frontend.description" /></h3>
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.description}</f:format.html>
<h3><f:translate key="frontend.email" /></h3>
<p>
{job.contact.email}
</p>
<h3><f:translate key="frontend.apply_by_mail" /></h3>
<p>
<f:for each="{job.company}" as="company">{company.name}</f:for><br>
{job.contact.firstName} {job.contact.lastName}<br>
<f:for each="{job.company}" as="company">{company.street}</f:for><br>
<f:for each="{job.company}" as="company">{company.city}</f:for><br>
{job.contact.email}<br>
{job.contact.phone}
</p>
</div>
<div class="pia-card-footer">
<f:link.action class="cta-link" pageUid="{settings.applyPage}" controller="Joblist" action="applyForm"
pluginName="JobApplication" arguments="{uid: job.uid}">
<f:translate key="frontend.applyNow" />
</f:link.action>
</div>
</article>
</div>
</div>
......@@ -9,10 +9,11 @@
selectedLocation: selectedLocation, selectedArea: selectedArea, selectedFunction: selectedFunction, limit: limit}"
/>
<f:for each="{jobs}" as="job">
<f:render partial="Job" arguments="{job: job}" />
<hr>
</f:for>
<div class="row default-content-element equal-height-columns stretch-first-child">
<f:for each="{jobs}" as="job">
<f:render partial="Job" arguments="{job: job}" />
</f:for>
</div>
<div id="sgjobs-pagination">
<f:format.raw>
......
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