Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_jobs
Commits
baee017d
Commit
baee017d
authored
1 year ago
by
Eniko Tot
Browse files
Options
Downloads
Patches
Plain Diff
[WIP] Start to convert apply form job description
parent
572aa124
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!50
Bootstrap 5 Support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html
+123
-134
123 additions, 134 deletions
...urces/Private/Templates/Bootstrap5/Joblist/ApplyForm.html
with
123 additions
and
134 deletions
Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html
+
123
−
134
View file @
baee017d
...
...
@@ -41,151 +41,140 @@
</div>
</div>
<div
class=
"col-md-4 col-sm-6 col-xs-12"
>
<div
class=
"highlight-box bg-card sgjobs-meta-box"
>
<ul
class=
"default-list"
>
<li>
<div
class=
"card shadow"
>
<div
class=
"card-header text-bg-light"
>
<ul>
<li>
<f:format.raw>
<f:translate
key=
"frontend.jobStart"
/>
</f:format.raw>
<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>
</li>
<li>
<f:if
condition=
"!{job.telecommutePossible}"
>
<f:then>
<f:format.raw>
<f:translate
key=
"frontend.locationLabel"
/>
</f:format.raw><br>
<f:for
as=
"company"
each=
"{job.companies}"
>
<span
class=
"sgjobs-company-location-wrap"
>
{company.name}
<br>
{company.street}
<br>
<f:if
condition=
"{company.state}"
>
{company.state}
<br>
</f:if>
{company.zip} {company.city}
<br>
</span>
</f:for>
</f:then>
<f:else>
<f:format.raw>
<f:translate
key=
"frontend.jobLocationRemote"
/>
</f:format.raw>
</f:else>
</f:if>
</li>
<f:if
condition=
"{job.experienceLevel -> f:count()} > 0"
>
<li>
<strong>
<f:translate
key=
"frontend.experienceLevel"
/>
:
</strong>
<f:for
each=
"{job.experienceLevel}"
as=
"experienceLevel"
iteration=
"iterator"
>
{experienceLevel.title}{f:if(condition: '!{iterator.isLast}', then: ', ')}
</f:for>
</li>
</f:if>
</ul>
</div>
<div
class=
"card-body"
>
<h3
class=
"card-title"
>
<f:format.raw>
<f:translate
key=
"frontend.job
Start
"
/>
<f:translate
key=
"frontend.job
ApplyNow
"
/>
</f:format.raw>
<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>
</li>
<li>
<f:if
condition=
"!{job.telecommutePossible}"
>
<f:then>
<f:format.raw>
<f:translate
key=
"frontend.locationLabel"
/>
</f:format.raw><br>
<f:for
as=
"company"
each=
"{job.companies}"
>
<span
class=
"sgjobs-company-location-wrap"
>
{company.name}
<br>
{company.street}
<br>
<f:if
condition=
"{company.state}"
>
{company.state}
<br>
</f:if>
{company.zip} {company.city}
<br>
</span>
</f:for>
</f:then>
<f:else>
</h3>
<f:if
condition=
"!{job.hideApplyByPostal}"
>
<div>
<f:format.raw>
<f:translate
key=
"frontend.job.via.post"
/>
</f:format.raw><br>
{job.company.name}
<br>
<f:if
condition=
"{job.contact}"
>
<f:then>
{job.contact.title} {job.contact.firstName} {job.contact.lastName}
<br>
</f:then>
<f:else>
{job.company.contact.title} {job.company.contact.firstName}
{job.company.contact.lastName}
<br>
</f:else>
</f:if>
<f:if
condition=
"{job.contact} && {job.contact.street}"
>
<f:then>
{job.contact.street}
<br>
<f:if
condition=
"{job.contact.state}"
>
{job.contact.state}
<br>
</f:if>
{job.contact.zip} {job.contact.city}
<f:if
condition=
"{job.contact.country}"
>
<br>
{job.contact.country}
</f:if>
</f:then>
<f:else>
<f:if
condition=
"{job.company.contact} && {job.company.contact.street}"
>
<f:then>
{job.company.contact.street}
<br>
<f:if
condition=
"{job.company.contact.state}"
>
{job.company.contact.state}
<br>
</f:if>
{job.company.contact.zip} {job.company.contact.city}
<f:if
condition=
"{job.company.contact.country}"
>
<br>
{job.company.contact.country}
</f:if>
</f:then>
<f:else>
{job.company.street}
<br>
<f:if
condition=
"{job.company.state}"
>
{job.company.state}
<br>
</f:if>
{job.company.zip} {job.company.city}
<f:if
condition=
"{job.company.country}"
>
<br>
{job.company.country}
</f:if>
</f:else>
</f:if>
</f:else>
</f:if>
</div>
</f:if>
<f:if
condition=
"!{job.hideApplyByEmail}"
>
<div
class=
"py-4"
>
<p
class=
"mb-2"
>
<f:format.raw>
<f:translate
key=
"frontend.job
LocationRemote
"
/>
<f:translate
key=
"frontend.job
.via.email
"
/>
</f:format.raw>
</f:else>
</f:if>
</li>
<f:if
condition=
"{job.experienceLevel -> f:count()} > 0"
>
<li>
<strong>
<f:translate
key=
"frontend.experienceLevel"
/>
:
</strong>
<f:for
each=
"{job.experienceLevel}"
as=
"experienceLevel"
iteration=
"iterator"
>
{experienceLevel.title}{f:if(condition: '!{iterator.isLast}', then: ', ')}
</f:for>
</li>
</p>
<a
href=
"mailto:{f:if(condition: '{job.contact}', then: '{job.contact.email}', else: '{job.company.contact.email}')}"
>
<f:translate
key=
"frontend.emailContact"
/>
</a>
</div>
</f:if>
</ul>
<hr>
<h3>
<f:format.raw>
<f:translate
key=
"frontend.jobApplyNow"
/>
</f:format.raw>
</h3>
<f:if
condition=
"!{job.hideApplyByPostal}"
>
<p>
<f:format.raw>
<f:translate
key=
"frontend.job.via.post"
/>
</f:format.raw><br>
{job.company.name}
<br>
<f:if
condition=
"{job.contact}"
>
<f:then>
{job.contact.title} {job.contact.firstName} {job.contact.lastName}
<br>
</f:then>
<f:else>
{job.company.contact.title} {job.company.contact.firstName}
{job.company.contact.lastName}
<br>
</f:else>
</f:if>
<f:if
condition=
"{job.contact} && {job.contact.street}"
>
<f:then>
{job.contact.street}
<br>
<f:if
condition=
"{job.contact.state}"
>
{job.contact.state}
<br>
</f:if>
{job.contact.zip} {job.contact.city}
<f:if
condition=
"{job.contact.country}"
>
<br>
{job.contact.country}
</f:if>
</f:then>
<f:else>
<f:if
condition=
"{job.company.contact} && {job.company.contact.street}"
>
<f:then>
{job.company.contact.street}
<br>
<f:if
condition=
"{job.company.contact.state}"
>
{job.company.contact.state}
<br>
</f:if>
{job.company.contact.zip} {job.company.contact.city}
<f:if
condition=
"{job.company.contact.country}"
>
<br>
{job.company.contact.country}
</f:if>
</f:then>
<f:else>
{job.company.street}
<br>
<f:if
condition=
"{job.company.state}"
>
{job.company.state}
<br>
</f:if>
{job.company.zip} {job.company.city}
<f:if
condition=
"{job.company.country}"
>
<br>
{job.company.country}
</f:if>
</f:else>
</f:if>
</f:else>
</f:if>
</p>
</f:if>
<f:if
condition=
"!{job.hideApplyByEmail}"
>
<p>
<f:format.raw>
<f:translate
key=
"frontend.job.
via.email
"
/>
<f:translate
key=
"frontend.job.
suggestForm
"
/>
</f:format.raw>
<br>
<f:comment>
<!-- Spam Protection (lib.parseFunc encodes adresses) -->
</f:comment>
<f:if
condition=
"{job.contact}"
>
<f:then>
<f:format.html
parseFuncTSPath=
"lib.parseFunc"
><a
href=
"mailto:{job.contact.email}"
>
<f:translate
key=
"frontend.emailContact"
/>
</a></f:format.html>
</f:then>
<f:else>
<f:format.html
parseFuncTSPath=
"lib.parseFunc"
><a
href=
"mailto:{job.company.contact.email}"
>
<f:translate
key=
"frontend.emailContact"
/>
</a></f:format.html>
</f:else>
</f:if>
</p>
</f:if>
<p>
<f:format.raw>
<f:translate
key=
"frontend.job.suggestForm"
/>
</f:format.raw>
</p>
<div
class=
"default-content-element sg-cta sg-cta-with-icon"
>
</div>
<div
class=
"card-footer bg-light text-center"
>
<a
href=
"{f:if(condition: '{job.applyExternalLink}', then: '{job.applyExternalLink}', else: '#apply')}"
class=
"btn btn-
primary btn-lg
"
>
class=
"btn btn-
default w-100
"
>
<f:translate
key=
"frontend.applyNow"
/>
</a>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment