Skip to content
Snippets Groups Projects
Verified Commit b5c29cc8 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Cleanup

parent 4e4410cc
No related branches found
Tags 2.0.9
1 merge request!52Feature 5168 unify root page selector
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<html data-namespace-typo3-fluid="true" lang="">
<div class="btn-toolbar" role="toolbar" aria-label="">
<f:for each="{buttons}" as="buttonGroup">
<f:if condition="{buttonGroup -> f:count()} > 1">
......
{namespace core=TYPO3\CMS\Core\ViewHelpers}
{namespace sg=SGalinski\SgJobs\ViewHelpers}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true" lang="">
<html data-namespace-typo3-fluid="true" lang="">
<nav class="mb-2 mt-2">
<ul class="pagination">
<!-- Records Display -->
<f:comment><!-- Records Display --></f:comment>
<li class="page-item ps-2 pe-2 pagination-label">
<span>
<f:translate key="backend.job.records" extensionName="sg_jobs"/> {pagination.startItem} - {pagination.endItem}
</span>
</li>
<!-- First Button -->
<f:comment><!-- First Button --></f:comment>
<li class="page-item ps-2 {f:if(condition: pagination.previousPage, then: '', else: 'disabled')}">
<f:if condition="{pagination.previousPage}">
<f:then>
......@@ -28,7 +28,7 @@
</f:if>
</li>
<!-- Previous Button -->
<f:comment><!-- Previous Button --></f:comment>
<li class="page-item ps-2 {f:if(condition: pagination.previousPage, then: '', else: 'disabled')}">
<f:if condition="{pagination.previousPage}">
<f:then>
......@@ -45,7 +45,7 @@
</f:if>
</li>
<!-- Go to Page -->
<f:comment><!-- Go to Page --></f:comment>
<li class="page-item ps-2">
<form action="" method="POST">
<f:translate key="backend.job.page" extensionName="sg_jobs"/>
......@@ -65,7 +65,7 @@
</form>
</li>
<!-- Next Button -->
<f:comment><!-- Next Button --></f:comment>
<li class="page-item ps-2 {f:if(condition: pagination.nextPage, then: '', else: 'disabled')}">
<f:if condition="{pagination.nextPage}">
<f:then>
......@@ -82,7 +82,7 @@
</f:if>
</li>
<!-- Last Button -->
<f:comment><!-- Last Button --></f:comment>
<li class="page-item ps-2 {f:if(condition: pagination.nextPage, then: '', else: 'disabled')}">
<f:if condition="{pagination.nextPage}">
<f:then>
......@@ -99,7 +99,7 @@
</f:if>
</li>
<!-- Refresh Button -->
<f:comment><!-- Refresh Button --></f:comment>
<li class="page-item ps-2">
<a href="{f:uri.action(action: action, arguments: {currentPage: pagination.currentPage, itemsPerPage: itemsPerPage})}"
>
......@@ -107,7 +107,7 @@
</a>
</li>
<!-- Custom Items Per Page Input Field with Label -->
<f:comment><!-- Custom Items Per Page Input Field with Label --></f:comment>
<li class="page-item ps-2 ms-4 ">
<form action="" method="POST" class="d-flex align-items-center">
<label for="itemsPerPageInput" class="me-2 mb-0">
......@@ -124,8 +124,6 @@
<input type="hidden" name="page" value="{pagination.currentPage}"/>
</form>
</li>
</ul>
</nav>
</html>
{namespace sg=SGalinski\SgJobs\ViewHelpers}
<f:if condition="{pages}">
<div class="panel panel-default recordlist">
<div class="panel-heading">
......@@ -9,19 +8,19 @@
<div class="table-fit">
<table data-table="pages" class="table table-striped table-hover">
<tbody>
<f:for each="{pages}" as="page">
<tr data-uid="{page.uid}">
<td nowrap="nowrap" class="col-title">
<f:link.action class="sg-jobs_pageswitch"
action="index"
additionalParams="{id: page.uid}"
additionalAttributes="{data-page: page.uid, data-path: page.path}">
<core:iconForRecord table="pages" row="{page}"/>
{page._thePathFull}
</f:link.action>
</td>
</tr>
</f:for>
<f:for each="{pages}" as="page">
<tr data-uid="{page.uid}">
<td nowrap="nowrap" class="col-title">
<f:link.action class="sg-jobs_pageswitch"
action="index"
additionalParams="{id: page.uid}"
additionalAttributes="{data-page: page.uid, data-path: page.path}">
<core:iconForRecord table="pages" row="{page}"/>
{page._thePathFull}
</f:link.action>
</td>
</tr>
</f:for>
</tbody>
</table>
</div>
......
<!--Extbase Version -->
<f:comment><!--Extbase Version --></f:comment>
<div class="module-docheader-bar-column-left">
<f:render partial="Backend/ButtonBar" arguments="{buttons:docHeader.buttons.left}"/>
......
......@@ -10,9 +10,7 @@
<f:if condition="{job.qualification}">
<ul>
<li>
<f:format.raw>
<f:translate key="frontend.jobStart" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.jobStart" /></f:format.raw>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
......@@ -38,9 +36,7 @@
<f:link.action id="offer-{job.uid}" pageUid="{settings.applyPage}" controller="Joblist" action="applyForm"
pluginName="JobApplication" arguments="{jobId: job.uid}"
class="btn btn-link text-decoration-none stretched-link w-100 text-uppercase fw-bold">
<f:format.raw>
<f:translate key="frontend.jobDetailsCta" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.jobDetailsCta" /></f:format.raw>
</f:link.action>
</div>
</div>
......
......@@ -11,7 +11,6 @@
<f:if condition="{job.description}">
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.description}</f:format.html>
</f:if>
</div>
<f:if condition="{job.qualification}">
<div class="sgjobs-highlight-area">
......
<span class="typo3-docheader-pagePath">
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.path"/>: <f:format.raw>{docHeader.metaInformation.path}</f:format.raw>
</span>
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.path"/>: <f:format.raw>{docHeader.metaInformation.path}</f:format.raw>
</span>
<f:format.raw>{docHeader.metaInformation.recordInformation}</f:format.raw>
......@@ -42,9 +42,7 @@
createColorAttribute="TRUE"
class="d-inline-block translate-y-px-1" />
<span class="text-muted">
<f:format.raw>
<f:translate key="frontend.jobStart" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.jobStart" /></f:format.raw>
</span>
<f:if condition="{job.alternativeStartDate}">
<f:then>
......@@ -81,9 +79,7 @@
<f:if condition="!{job.telecommutePossible}">
<f:then>
<span class="text-muted">
<f:format.raw>
<f:translate key="frontend.locationLabel" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.locationLabel" /></f:format.raw>
</span>
<span>
<f:for as="company" each="{job.company}" iteration="companyIterator">
......@@ -127,17 +123,13 @@
<div class="card border-top text-bg-light">
<div class="card-header">
<h3 class="card-title h4">
<f:format.raw>
<f:translate key="frontend.jobApplyNow" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.jobApplyNow" /></f:format.raw>
</h3>
</div>
<div class="card-body">
<f:if condition="!{job.hideApplyByPostal}">
<p>
<f:format.raw>
<f:translate key="frontend.job.via.post" />
</f:format.raw><br>
<f:format.raw><f:translate key="frontend.job.via.post" /></f:format.raw><br>
{job.firstCompany.name}<br>
<f:if condition="{job.contact}">
<f:then>
......@@ -187,9 +179,7 @@
</f:if>
<f:if condition="!{job.hideApplyByEmail}">
<p>
<f:format.raw>
<f:translate key="frontend.job.via.email" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.job.via.email" /></f:format.raw>
<br>
<f:comment>
<!-- Spam Protection (lib.parseFunc encodes adresses) -->
......@@ -204,9 +194,7 @@
</div>
<div class="card-footer card-footer--static-bg text-center text-bg-light">
<p>
<f:format.raw>
<f:translate key="frontend.job.suggestForm" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.job.suggestForm" /></f:format.raw>
</p>
<a href="{f:if(condition: '{job.applyExternalLink}', then: '{job.applyExternalLink}', else: '#apply')}" class="btn btn-primary w-100">
<f:translate key="frontend.applyNow" />
......@@ -394,9 +382,7 @@
<div class="form-check mb-4">
<f:form.checkbox class="form-check-input" id="privacy-policy" property="privacyPolicy" value="1" additionalAttributes="{required: 'required'}" />
<label class="form-check-label" for="privacy-policy">
<f:format.raw>
<f:translate key="frontend.apply.privacyPolicy" arguments="{0: '{f:render(section:\'privacyPolicyCheckboxLink\')}'}" />
</f:format.raw>
<f:format.raw><f:translate key="frontend.apply.privacyPolicy" arguments="{0: '{f:render(section:\'privacyPolicyCheckboxLink\')}'}" /></f:format.raw>
</label>
<f:render section="formValidation" arguments="{form-field: 'privacyPolicy'}" />
</div>
......
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