<td colspan="11">
	<div class="fullDiv fullDiv2 {% if mode == 'campagne' and dependencies| length > 0 %}fullDiv3{% endif %}">
		{% if mode != 'AO' %}
			<ul class="nav nav-tabs sous_onglet">
				<li class="active">
					<a data-toggle="tab" href="#detail{{ blb.ID_QUEST }}">{{ 'Questions' | trad }}</a>
				</li>
				<li>
					<a data-toggle="tab" href="#carac{{ blb.ID_QUEST }}">{{ 'Origine évaluateur' | trad}}</a>
				</li>
				{% if mode == 'campagne' and dependencies| length > 0 %}
					<li>
						<a data-toggle="tab" href="#dependencies{{ blb.ID_QUEST }}">{{ 'Dépendances' | trad}}</a>
					</li>
				{% endif %}
			</ul>
		{% endif %}
		<div class="tab-content">
			<div id="detail{{ blb.ID_QUEST }}" class="tab-pane active in clearfix box-form">
				<div class="single">
					<div class="informations">
						<p>
							<span class="champs_label" style="width: 15%;">{{ 'Commentaire' | trad ~ ' :' }}</span>
							<span class="resultat" style="width: 85%;">{{ shortLibelle(blb.COMMENTAIRE, 200) }}</span>
						</p>
					</div>
				</div>
				<div class="clearfix">
					<div class="colonne2">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'Pour Fournisseur ?' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">{{ blb.QUEST_FOUR | boolTrad }}
								</span>
							</p>
						</div>
					</div>
					<div class="colonne2 last">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'Question obligatoire ?' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">{{ blb.QST_OBLIG | boolTrad }}
								</span>
							</p>
						</div>
					</div>

				</div>
				{% if blb.TYPE_REP == 'L' %}
					<div class="colonne2">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'Note pour oui' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">{{ blb.NOTE_VRAI }}
								</span>
							</p>
						</div>
					</div>
					<div class="colonne2 last">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'Note pour non' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">{{ blb.NOTE_FAUX }}
								</span>
							</p>
						</div>
					</div>
				{% elseif blb.TYPE_REP == 'N' %}
					<div class="colonne2">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'Format' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">{{ blb.NUM_FORMAT }}
								</span>
							</p>
							{% if blb.TYP_NOMBRE %}
								<p>
									<span class="champs_label" style="width: 35%;">{{'Type de nombre' | trad }}
										:</span>
									<span class="resultat" style="width: 65%;">{{ listeTypeNombre[blb.TYP_NOMBRE] }}
									</span>
								</p>
							{% endif %}
						</div>
					</div>
					<div class="colonne2 last">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%; ">{{'Valeur min.' | trad }}
									:</span>
								<span class="resultat" style="width: 65%; text-align: center;">{{ blb.NUM_MIN }}
								</span>
							</p>
							<p>
								<span class="champs_label" style="width: 35%;">{{'Valeur max.' | trad }}
									:</span>
								<span class="resultat" style="width: 65%; text-align: center;">{{ blb.NUM_MAX }}
								</span>
							</p>
						</div>
					</div>
				{% elseif blb.TYPE_REP == 'O' and mode not in ['AO', 'AO_CONTRIB'] %}
					<div class="colonne2">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'Note attribuée par' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">
                                    {{ listeNoteur[blb.OUV_NOTEPAR] }}
								</span>
							</p>
						</div>
					</div>
					<div class="colonne2 last">
						<div class="informations">
							<p>
								<span class="champs_label" style="width: 35%;">{{'N/A possible ?' | trad }}
									:</span>
								<span class="resultat" style="width: 65%;">{{ blb.OUV_NAPOSS | boolTrad }}
								</span>
							</p>
						</div>
					</div>
				{% elseif blb.TYPE_REP == 'T' %}
					<div class="single">
						<table class="table table-hover">
							<thead class="thead-dark">
								<tr>
									<th scope="col">{{'Texte' | trad}}</th>
									<th scope="col">{{'Com. manuel ?' | trad }}</th>
									{% if mode not in ['AO', 'AO_CONTRIB'] %}
										<th scope="col">{{'Com. Oblig. ?' | trad }}</th>
									{% endif %}
									<th scope="col">{{'Note' | trad}}</th>
								</tr>
							</thead>
							<tbody>
								{% for rep in listeReponse %}
									<tr>
										<td>{{ rep.TXT_REP }}</td>
										<td>{{ rep.COM_MANUEL|boolTrad }}</td>
										{% if mode not in ['AO', 'AO_CONTRIB'] %}
											<td>{{ rep.COM_OBLIG|boolTrad }}</td>
										{% endif %}
										<td>{{ rep.NOTE }}</td>
									</tr>
								{% endfor %}
							</tbody>
						</table>

					</div>
				{% endif %}
			</div>
			<div id="carac{{ blb.ID_QUEST }}" class="tab-pane fade clearfix box-form">
				<div class="single">
					<div class="informations">
						<p>
							<span class="champs_label" style="width: 15%;">{{'Origine évaluateur' | trad }}</span>
                            {% if mode == 'AO_CONTRIB' %}
                                <span class="resultat" style="width: 85%;">{{ 'Acheteur' | trad }}</span>
                            {% else %}
                                <span class="resultat" style="width: 85%;">{{ ratersOrigin }}</span>
                            {% endif %}
                            
						</p>
					</div>
				</div>
			</div>
			{% if dependencies| length > 0 %}
				<div id="dependencies{{ blb.ID_QUEST }}" class="tab-pane fade clearfix box-form">
					<table class="table table-hover">
						<thead class="thead-dark">
							<tr>
								<th scope="col" width="50%">{{'Libellé' | trad}}</th>
								<th scope="col" width="35%">{{'Thème' | trad }}</th>
								<th scope="col" width="15%">{{'Lien' | trad}}</th>
								<th scope="col" width="5%" class="align-center"></th>
							</tr>
						</thead>
						<tbody>
							{% for dependency in dependencies %}
								<tr id="dependency{{ dependency.dependentId }}">
									<td>
										{{ dependency.BOND == 'D' ? dependency.parentLabel : dependency.dependentLabel }}
									</td>
									<td>{{ dependency.BOND == 'D' ? dependency.parentThemeLabel : dependency.dependentThemeLabel }}</td>
									<td>{{ dependency.BOND == 'D' ? 'Dépendante' | trad : 'Parente' | trad }}</td>
									<td class="align-center">
											{{ hover_action(
												'dependency' ~ dependency.dependentId, 
												'Supprimer_v2', 
												"popupConfirmation(
													'" ~ path('Ajax.Erreur.popupConfirmationSuppresion') ~ "', 
													'', 
													'" ~ path('Evaluation.Question.deleteDependency',{campId: modeId, parentThemeId: dependency.ID_THEME_PARENT, dependentThemeId: dependency.ID_THEME_DEP, parentQuestionId: dependency.ID_QST_PARENT, dependentQuestionId: dependency.ID_QST_DEP }) ~ "',
													'" ~ 'Voulez-vous supprimer la dépendance ?' | trad|e('js')|raw ~ "',
													'tableRefresh', 
													'', 
													'', 
													'', 
													'', 
													'', 
													'', 
													'', 
													'', 
													'', 
													'" ~ ('Suppression dépendance' | trad|e('js')|raw) ~ "'
												)",
												'float: right;margin-right:5px;'
											) }}
										{# <a href="javascript:void(0)">
										</a>
										<img onclick="popupConfirmation('{{ path('Ajax.Erreur.popupConfirmationSuppresion') }}', '', '{{ path('Evaluation.Question.deleteDependency', {campId: modeId, parentThemeId: dependency.ID_THEME_PARENT, dependentThemeId: dependency.ID_THEME_DEP, parentQuestionId: dependency.ID_QST_PARENT, dependentQuestionId: dependency.ID_QST_DEP }) }}', '{{ 'Voulez-vous supprimer la dépendance ?' | trad|e('js')|raw }}', 'detail{{ blb.ID_QUEST }}', '', '', '')" src="{{ baseUrl('IconeV2/Gestion/Delete.svg')|trim }}" class="createur"/> #}
									</td>
								</tr>
							{% endfor %}
						</tbody>
					</table>
				</div>
			{% endif %}
		</div>
	</div>
</td>
