<% var buttonsHtml = { 'back': '' + ' ' + '' + translate.get("goback") + '' + '', 'apply': '' + ' ' + '' + translate.get("txtapplyforjob") + '' + '', 'print': '' + ' '+ '' + translate.get("printAJob") + '' + '', 'send2friend': '' + ' '+ '' + translate.get("sendToAFriend") + '' + '', 'send2friendButton': '' + ' ' + translate.get("sendToAFriend") + '', 'viewCareerSite': '' + ' ' + translate.get("txtViewCareerSite") + '' }; %> <% if (isAdvertPreviewActive) { %>
<%- translate.get('txtJobPostingPreviewNotification') %>
<% }%>
<% if (structuredData) { %> <% } %> <% if (imageSrcOnLogo) { %>
<% } %> <% if (imageSrcOnHeader1) { %>
<% } %> <% if (imageSrcOnHeader2) { %>
<% } %>
<% _.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 { %> <% formattedValue = utilities.formatValue((data.jobFields[info] || ' '), data.globals.typeDescriptor[info], configuration) %> <% } %> <% if (!formattedValue.match(/31-(.)*-2099/)) { %>
<%- translate.get(info, translate.get('JD_Param'+(i+1))) %>

<%= formattedValue %>

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

<%= field.content %>

<% } else if (i < 1) { %>

<%- field.title %>

<%= field.content %>

<% } %> <% }); %> 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) { %> <%- data.topImage.alt %> <% } %> <% _.each(data.customFields, function(field, i) { %> <% if (i > 0) { %>

<%- field.title %>

<%= field.content %>

<% } %> <% }); %> <% if (data.bottomImage) { %> <%- data.bottomImage.alt %> <% } %> <% if (data.attachments.length > 0) { %>

<%- translate.get('avaliableDocuments') %>

<% } %>
<% if (imageSrcOnBottom) { %>
<% } %>
<% if(externalCareerSiteUrl !== '') { %> <%= buttonsHtml["viewCareerSite"] %> <% } %> <%= buttonsHtml["back"] %> <% if(send2friendHasCorrectData) { %> <% if(!settings.jobDetails.shareJobTemplate.refferalProgramActivated) { %> <%= buttonsHtml["send2friendButton"] %> <% } else { %> <%= buttonsHtml["send2friend"] %> <% } %> <% } %> <%= buttonsHtml["print"] %>
<% if(showApplyButton) { %> <%= buttonsHtml["apply"] %> <% } %>