<commit_before><div class="col-lg-4 col-md-6">

	<div class="panel panel-default" id="munki-widget">

	  <div class="panel-heading">

	    <h3 class="panel-title"><i class="fa fa-smile-o"></i> Munki</h3>

	  </div>

	  <div class="panel-body text-center"></div>

	</div><!-- /panel -->

</div><!-- /col -->

<script>

$(document).on('appReady', function(){
	
	// Add tooltip
	$('#munki-widget>div.panel-heading')
		.attr('title', i18n.t('munki.panel_title'))
		.tooltip();
	
	// Entries
	var entries = [
		{
			class: 'btn-danger',
			url: appUrl + '/show/listing/munki#errors',
			name: 'error'
		},
		{
			class: 'btn-warning',
			url: appUrl + '/show/listing/munki#warnings',
			name: 'warning'
		},
		{
			class: 'btn-info',
			url: appUrl + '/show/listing/munki#pendinginstalls',
			name: 'pending'
		},
		{
			class: 'btn-success',
			url: appUrl + '/show/listing/munki#installresults',
			name: 'installed'
		}
	]
	
	$.each(entries, function(i, obj){
		$('#munki-widget div.panel-body')
			.append($('<a>')
				.addClass('btn '+ obj.class)
				.attr('href', obj.url)
				.append($('<span>')
					.addClass('bigger-150')
					.text(0))
				.append($('<br>'))
				.append($('<span>')
					.addClass('count')
					.text(i18n.t(obj.name, { count: 0 }))))
			.append(' ');
	})
	
	
	$(document).on('appUpdate', function(){
		
		var hours = 24 * 7;
		$.getJSON( appUrl + '/module/munkireport/get_stats/'+hours, function( data ) {
			
			$.each(entries, function(i, obj){
				// Set count
				$('#munki-widget a.'+obj.class+' span.bigger-150')
					.text(+data[obj.name]);
				// Set localized label
				$('#munki-widget a.'+obj.class+' span.count')
					.text(i18n.t(obj.name, { count: +data[obj.name] }));
			});

		});
				
	});
	
});


	
</script><commit_msg>Remove pending and install results form munki widget<commit_after><div class="col-lg-4 col-md-6">

	<div class="panel panel-default" id="munki-widget">

	  <div class="panel-heading">

	    <h3 class="panel-title"><i class="fa fa-smile-o"></i> Munki</h3>

	  </div>

	  <div class="panel-body text-center"></div>

	</div><!-- /panel -->

</div><!-- /col -->

<script>

$(document).on('appReady', function(){
	
	// Add tooltip
	$('#munki-widget>div.panel-heading')
		.attr('title', i18n.t('munki.panel_title'))
		.tooltip();
	
	// Entries
	var entries = [
		{
			class: 'btn-danger',
			url: appUrl + '/show/listing/munki#errors',
			name: 'error'
		},
		{
			class: 'btn-warning',
			url: appUrl + '/show/listing/munki#warnings',
			name: 'warning'
		}
	]
	
	$.each(entries, function(i, obj){
		$('#munki-widget div.panel-body')
			.append($('<a>')
				.addClass('btn '+ obj.class)
				.attr('href', obj.url)
				.append($('<span>')
					.addClass('bigger-150')
					.text(0))
				.append($('<br>'))
				.append($('<span>')
					.addClass('count')
					.text(i18n.t(obj.name, { count: 0 }))))
			.append(' ');
	})
	
	
	$(document).on('appUpdate', function(){
		
		var hours = 24 * 7;
		$.getJSON( appUrl + '/module/munkireport/get_stats/'+hours, function( data ) {
			
			$.each(entries, function(i, obj){
				// Set count
				$('#munki-widget a.'+obj.class+' span.bigger-150')
					.text(+data[obj.name]);
				// Set localized label
				$('#munki-widget a.'+obj.class+' span.count')
					.text(i18n.t(obj.name, { count: +data[obj.name] }));
			});

		});
				
	});
	
});


	
</script>
{'fraction_non_alphanumeric': 0.23902001792650135, 'fraction_numerical': 0.01254855094114132, 'mean_word_length': 2.8660508083140877, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4492915', 'n_tokens_mistral': 1559, 'n_tokens_neox': 1271, 'n_words': 216}