PageSourceSearch

https://tampereentilapalvelut.fi/wp-content/themes/betheme-child/src/assets/js/lucci.js?ver=1709619675

js tampereentilapalvelut.fi collected 2026-10-02 20:35:31 UTC 1,943 bytes, 56 lines download raw bytes

1
2
3jQuery(document).ready(function() {
4
5  var url = jQuery('#list-of-open-job-positions').attr('data-url');
6  if( url ) {
7    jQuery('#list-of-open-job-positions .loading-text').hide()
8    
9    jQuery.ajax({
10      url: url,
11      method: 'GET',
12      dataType: 'json',
13      success: function(data) {
14
15        var jobs = data.jobs
16
17        jQuery.each( jobs, function( key, value) {
18
19          var startdateObject = new Date(value.start_date);
20          var startDate = startdateObject.toLocaleDateString('fi-FI', {
21            day: 'numeric',
22            month: 'long',
23            year: 'numeric',
24          })
25    
26          var duedateObject = new Date(value.due_date);
27          var dueDate = duedateObject.toLocaleDateString('fi-FI', {
28            day: 'numeric',
29            month: 'long',
30            year: 'numeric',
31          })
32
33          var date = '';
34          if( value.start_date && value.due_date ) {
35            date = 'Haku alkaa <b>' + startDate + '</b> ja päättyy <b>' + dueDate + '</b>.';
36          } else if( value.start_date ) {
37            date = 'Haku alkaa <b>' + startDate + '</b>.';
38          } else if( value.due_date ) {
39            date = 'Haku päättyy <b>' + dueDate + '</b>.';
40          }
41
42          var image = value.image ? '<a href="' + value.link + '" class="thumbnail"><img src="' + value.image +'"></a>' : '';
43          var description = value.description_html ? '<div class="description">' + value.description_html + '</div>' : '';
44
45          jQuery('#list-of-open-job-positions').append('<div class="job">' + image + '<div class="content"><h3 class="title">' + value.name + '</h3>' + description + '<div class="date">' + date + '</div><a href="' + value.link + '"><button class="vc_btn3">Lue lisää</button></a></div></div>')
46        })
47
48      },
49      error: function(error) {
50        console.log('Connection to Talent Adore Failed')
51        console.log('Error:', error);
52      }
53    });
54  }
55
56});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.