<% if (structuredData) { %>
<% } %>
<% if (imageSrcOnLogo) { %>
<% } %>
<% if (imageSrcOnHeader1) { %>
<% } %>
<% if (imageSrcOnHeader2) { %>
<% } %>
class="job-title"><%= data.jobFields.jobTitle %>
<% if(showApplyButton) { %>
<%= buttonsHtml["apply"] %>
<% } %>
>
<% if (data.jobFields.strapLine) { %>
<%- utilities.formatValue(data.jobFields.strapLine, data.globals.typeDescriptor.strapLine, configuration) %>
<% } %>
<% if (imageSrcOnTopOfJobDescription) { %>
<% } %>
<% if (data.topImage) { %>

<% } %>
<% _.each(data.customFields, function(field, i) { %>
<%= field.content %>
<% }); %>
<% if (data.bottomImage) { %>

<% } %>
<% if (data.attachments && data.attachments.length > 0) { %>
<%- translate.get('avaliableDocuments') %>
<% } %>
<% _.each(jobInfo, function(info, i) {
if (info.toUpperCase() == 'DPOSTINGEND' || info.toUpperCase() == 'EXPIRATION' || info.toUpperCase() == "DPOSTINGSTART") { %>
<% formattedValue = utilities.formatPostingDate(data.jobFields[info], data.jobFields['POSTINGTIMEZONE'], configuration) %>
<% } else if (info.toUpperCase() == 'FFIELD001_002' && data.jobFields['FFIELD001_002'] !== undefined) {
let formatSalary = function (val) {
val = parseFloat(val.replace(/£|,/g, ""));
return Number(val).toLocaleString("en-US",{style: 'currency', currency: "GBP", currencyDisplay: "symbol", minimumFractionDigits: 0,maximumFractionDigits: 0,});
};
formattedValue = formatSalary(utilities.formatValue((data.jobFields['FFIELD001_002'] || ' '), data.globals.typeDescriptor['FFIELD001_002'], configuration))
formattedValue += " - "
formattedValue += formatSalary(utilities.formatValue((data.jobFields['FFIELD001_003'] || ' '), data.globals.typeDescriptor['FFIELD001_003'], configuration))
} else {
formattedValue = utilities.formatValue((data.jobFields[info] || ' '), data.globals.typeDescriptor[info], configuration)
} %>
<% if (!formattedValue.match(/31-(.)*-2099/) && info.toUpperCase() != 'FFIELD001_003') { %>
-
<%- translate.get(info, translate.get('JD_Param'+(i+1))) %>
-
<%= formattedValue %>
<% } %>
<% }); %>
<% if (data.topImage) { %>

<% } %>
<% _.each(data.customFields, function(field, i) { %>
<%= field.content %>
<% }); %>
<% if (data.bottomImage) { %>

<% } %>
<% if (data.attachments.length > 0) { %>
<%- translate.get('avaliableDocuments') %>
<% } %>
<% if (imageSrcOnBottom) { %>
<% } %>