Sha256: 35653fc46ebc454aa832b14c428fb20b9fc9deba436b9b5a35ade111c32d59cd

Contents?: true

Size: 318 Bytes

Versions: 16

Compression:

Stored size: 318 Bytes

Contents

jQuery(function ($) {
  $('td.log').each(function(){
    var logText = $(this).html();
    $(this).html(
      logText.replace(/instance#(\d+)\/(\d+)(?:\s+|\.)/, function(match, jobId, instanceId){
	return '<a href="/definitions/' + jobId + '/instances/' + instanceId+ '">' + match + '</a>';
      })
    );
  });
});

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
kuroko2-0.4.6 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.4.5 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.4.4 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.4.3 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.4.2 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.4.1 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.4.0 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.3.4 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.3.3 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.3.2 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.3.1 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.3.0 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.2.3 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.2.2 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.2.1 app/assets/javascripts/kuroko2/instance_linker.js
kuroko2-0.2.0 app/assets/javascripts/kuroko2/instance_linker.js