<commit_before>{% for passage in passages %}
<div class="list-group-item">
	<a name="{{ passage.id }}"></a>
	<div class="row">
		<div class="col-xs-2">
			<div class="row">
				<div class="col-xs-3">
					<span style="cursor: help;" title="{{ passage.libelle }}"
						data-toggle="tooltip"
						class="badge {% if(passage.isGarantie) %}badge-warning{% elseif(passage.isControle)%}badge-warning{% else %}badge-default{% endif %} {% if(passage.mouvementDeclenchable) %}badge-inverse{% endif %} btn-xs">{{
						passage.getNumeroPassage() }}</span>
				</div>
				<div class="col-xs-9">

					{% if (passage.aPlanifie) %}
					<button class="btn btn-xs btn-block btn-primary">{{
						passage.getStatutLibelle() }}</button>
					{% elseif (passage.planifie) %}
					<button class="btn btn-xs btn-block btn-warning">{{
						passage.getStatutLibelle() }}</button>
					{% elseif (passage.annule) %}
					<button class="btn btn-xs btn-block btn-danger">{{
						passage.getStatutLibelle() }} </button>
					{% elseif (passage.realise) %}
					<button class="btn btn-xs btn-block btn-success">{{
						passage.getStatutLibelle() }}</button>
					{% endif %}
				</div>
			</div>
		</div>
		<div class="col-xs-3">
			<a data-toggle="modal" data-remote="false"
				data-target="#modal-calendrier-infos"
				href="{{path('passage_visualisation', { 'id': passage.id })}}">
				{% if passage.APlanifie %}
				 prévu le {{ passage.datePrevision | localizeddate("medium", "none", null, null, "d MMMM yyyy") | capitalize }}
				{% elseif passage.isAnnule %}
				({{ passage.datePrevision | localizeddate("medium", "none", null, null, "d MMMM yyyy") | capitalize }})
				{% else %}
					{{ passage.dateDebut| localizeddate('full', 'none') | capitalize }}
			  {% endif %}
				{% if passage.duree %} à {{passage.dateDebut | date("H") }}h{{passage.dateDebut | date("i") }}{% endif %} </a>

				{% if (not passage.isRealise and origine is defined and origine == "contrat") %}
				<a class="btn btn-link btn-xs" href="{{ path('passage_modification', {'id': passage.id, 'service': path('contrat_visualisation', { 'id': contrat.id }) ~ "#" ~ passage.id }) }}"><span class="glyphicon glyphicon-pencil"></span></a>
				{% elseif(not passage.isRealise) %}
					<a class="btn btn-link btn-xs" href="{{ path('passage_modification', {'id': passage.id}) }}"><span class="glyphicon glyphicon-pencil"></span></a>
				{% endif %}
		</div>
		<div class="col-xs-2">
			{% for prestation in passage.prestations %} {% if(prestation.wordToPicto)
			%} <span class="step size-24" title="{{  prestation.nomToString }}"
				data-toggle="tooltip"> <i class="mdi-{{prestation.wordToPicto}}"
				style="cursor: pointer;">&nbsp;</i></span> {%else%} <span
				class="label label-xs label-primary">{{ prestation.nomToString }}</span>
			{%endif%} {% endfor %}<commit_msg>Lien que sur la visu contrat<commit_after>{% for passage in passages %}
<div class="list-group-item">
	<a name="{{ passage.id }}"></a>
	<div class="row">
		<div class="col-xs-2">
			<div class="row">
				<div class="col-xs-3">
					<span style="cursor: help;" title="{{ passage.libelle }}"
						data-toggle="tooltip"
						class="badge {% if(passage.isGarantie) %}badge-warning{% elseif(passage.isControle)%}badge-warning{% else %}badge-default{% endif %} {% if(passage.mouvementDeclenchable) %}badge-inverse{% endif %} btn-xs">{{
						passage.getNumeroPassage() }}</span>
				</div>
				<div class="col-xs-9">

					{% if (passage.aPlanifie) %}
					<button class="btn btn-xs btn-block btn-primary">{{
						passage.getStatutLibelle() }}</button>
					{% elseif (passage.planifie) %}
					<button class="btn btn-xs btn-block btn-warning">{{
						passage.getStatutLibelle() }}</button>
					{% elseif (passage.annule) %}
					<button class="btn btn-xs btn-block btn-danger">{{
						passage.getStatutLibelle() }} </button>
					{% elseif (passage.realise) %}
					<button class="btn btn-xs btn-block btn-success">{{
						passage.getStatutLibelle() }}</button>
					{% endif %}
				</div>
			</div>
		</div>
		<div class="col-xs-3">
			<a data-toggle="modal" data-remote="false"
				data-target="#modal-calendrier-infos"
				href="{{path('passage_visualisation', { 'id': passage.id })}}">
				{% if passage.APlanifie %}
				 prévu le {{ passage.datePrevision | localizeddate("medium", "none", null, null, "d MMMM yyyy") | capitalize }}
				{% elseif passage.isAnnule %}
				({{ passage.datePrevision | localizeddate("medium", "none", null, null, "d MMMM yyyy") | capitalize }})
				{% else %}
					{{ passage.dateDebut| localizeddate('full', 'none') | capitalize }}
			  {% endif %}
				{% if passage.duree %} à {{passage.dateDebut | date("H") }}h{{passage.dateDebut | date("i") }}{% endif %} </a>

				{% if (not passage.isRealise and origine is defined and origine == "contrat") %}
				<a class="btn btn-link btn-xs" href="{{ path('passage_modification', {'id': passage.id, 'service': path('contrat_visualisation', { 'id': contrat.id }) ~ "#" ~ passage.id }) }}"><span class="glyphicon glyphicon-pencil"></span></a>
				{% endif %}
		</div>
		<div class="col-xs-2">
			{% for prestation in passage.prestations %} {% if(prestation.wordToPicto)
			%} <span class="step size-24" title="{{  prestation.nomToString }}"
				data-toggle="tooltip"> <i class="mdi-{{prestation.wordToPicto}}"
				style="cursor: pointer;">&nbsp;</i></span> {%else%} <span
				class="label label-xs label-primary">{{ prestation.nomToString }}</span>
			{%endif%} {% endfor %}
{'fraction_non_alphanumeric': 0.21021897810218979, 'fraction_numerical': 0.0025547445255474453, 'mean_word_length': 3.872, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '3749001', 'n_tokens_mistral': 2321, 'n_tokens_neox': 1880, 'n_words': 384}