From 09b546875759f2eed9ca298b89f8c28942d015d1 Mon Sep 17 00:00:00 2001
From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de>
Date: Fri, 24 Nov 2023 19:39:34 +0100
Subject: [PATCH] [TASK] Add missing headerLabel

---
 Resources/Private/Backend/Templates/JobApplication.html | 4 ++++
 Resources/Private/Backend/Templates/JobTeaser.html      | 4 ++++
 Resources/Private/Backend/Templates/Joblist.html        | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/Resources/Private/Backend/Templates/JobApplication.html b/Resources/Private/Backend/Templates/JobApplication.html
index edcf36b3..d4cdfdd6 100644
--- a/Resources/Private/Backend/Templates/JobApplication.html
+++ b/Resources/Private/Backend/Templates/JobApplication.html
@@ -3,6 +3,10 @@
 <f:asset.css identifier="sg_jobs-pluginpreview" href="EXT:sg_jobs/Resources/Public/StyleSheets/pluginpreview.css" />
 
 <be:link.editRecord table="tt_content" uid="{uid}">
+	<h4>
+		<span class="badge text-bg-primary"><f:translate key="{headerLabel}" /></span>
+	</h4>
+
 	<br/>
 
 	<table class="table table-striped table-bordered sg_jobs-backend-preview-table">
diff --git a/Resources/Private/Backend/Templates/JobTeaser.html b/Resources/Private/Backend/Templates/JobTeaser.html
index db52dd98..6c84ffd2 100644
--- a/Resources/Private/Backend/Templates/JobTeaser.html
+++ b/Resources/Private/Backend/Templates/JobTeaser.html
@@ -3,6 +3,10 @@
 <f:asset.css identifier="sg_jobs-pluginpreview" href="EXT:sg_jobs/Resources/Public/StyleSheets/pluginpreview.css" />
 
 <be:link.editRecord table="tt_content" uid="{uid}">
+	<h4>
+		<span class="badge text-bg-primary"><f:translate key="{headerLabel}" /></span>
+	</h4>
+
 	<br/>
 
 	<table class="table table-striped table-bordered sg_jobs-backend-preview-table">
diff --git a/Resources/Private/Backend/Templates/Joblist.html b/Resources/Private/Backend/Templates/Joblist.html
index 4d8317ed..cd53d70e 100644
--- a/Resources/Private/Backend/Templates/Joblist.html
+++ b/Resources/Private/Backend/Templates/Joblist.html
@@ -3,6 +3,10 @@
 <f:asset.css identifier="sg_jobs-pluginpreview" href="EXT:sg_jobs/Resources/Public/StyleSheets/pluginpreview.css" />
 
 <be:link.editRecord table="tt_content" uid="{uid}">
+	<h4>
+		<span class="badge text-bg-primary"><f:translate key="{headerLabel}" /></span>
+	</h4>
+
 	<br/>
 
 	<table class="table table-striped table-bordered sg_jobs-backend-preview-table">
-- 
GitLab