From dc995bf3badc9e9198311e5143fe97b36a08ceea Mon Sep 17 00:00:00 2001 From: Eniko Tot <eniko.tot@codebrewery.hu> Date: Fri, 12 Jan 2024 15:07:03 +0100 Subject: [PATCH] [BUGFIX] Change warning buttons to primary and default --- Resources/Private/Partials/Bootstrap5/Job.html | 2 +- Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Private/Partials/Bootstrap5/Job.html b/Resources/Private/Partials/Bootstrap5/Job.html index 830854ca..02dc7cbf 100644 --- a/Resources/Private/Partials/Bootstrap5/Job.html +++ b/Resources/Private/Partials/Bootstrap5/Job.html @@ -33,7 +33,7 @@ </div> <div class="card-footer bg-light text-center"> <f:link.action id="offer-{job.uid}" pageUid="{settings.applyPage}" controller="Joblist" action="applyForm" - pluginName="JobApplication" arguments="{jobId: job.uid}" class="btn btn-warning stretched-link w-100"> + pluginName="JobApplication" arguments="{jobId: job.uid}" class="btn btn-default stretched-link w-100"> <f:format.raw> <f:translate key="frontend.jobDetailsCta" /> </f:format.raw> diff --git a/Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html b/Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html index b6bd4395..177f2389 100644 --- a/Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html +++ b/Resources/Private/Templates/Bootstrap5/Joblist/ApplyForm.html @@ -185,7 +185,7 @@ <div class="default-content-element sg-cta sg-cta-with-icon"> <a href="{f:if(condition: '{job.applyExternalLink}', then: '{job.applyExternalLink}', else: '#apply')}" - class="btn btn-warning btn-lg"> + class="btn btn-primary btn-lg"> <f:translate key="frontend.applyNow" /> </a> </div> @@ -468,7 +468,7 @@ <f:render section="formValidation" arguments="{form-field: 'privacyPolicy'}" /> </div> <div class="d-flex justify-content-end pt-4"> - <button type="submit" class="btn btn-lg btn-warning">{f:translate(key:'frontend.applyNow')}</button> + <button type="submit" class="btn btn-lg btn-primary">{f:translate(key:'frontend.applyNow')}</button> </div> </f:form> </div> -- GitLab