(function($) {
$.ajax({
url: ‚https://ebf-gmbh.jobs.personio.de/xml‘,
dataType: „xml“,
success: function(data) {
var $xml = $(data),
items = [];
if(window.matchMedia(„(min-width: 600px)“).matches){
items.push (‚
| ‚ + ‚ ‚ + $department + ‚ ‚ + $this.find(’schedule‘).text() +‘ | ‚ + ‚ ‚ + $this.find(’name‘).eq(0).text() + ‚ ‚ + ‚‚ + $this.find(‚office‘).text() + ‚ | Anzeigen & Bewerben → |
‚);
}else{
items.push ();
$xml.find(„position“).each(function(i) {
var $this = $(this);
var $iniBewerbung = $this.find(’name‘).eq(0).text();
var $department = $this.find(‚department‘).text();
if ( $iniBewerbung === „Initiativbewerbung“){
$department = ‚Sonstiges‘;
}
items.push(
‚
‚
|
|
‚ +
‚
‚‚+
‚
‚
‚
);
});
items.push ();
}
$(„#joblist_personio“).html(items.join(“));
}
});
} )( jQuery );