<h3 class="modalTitle">Etat d'indéxation du dossier {{documentId}}</h3>
<div class="modalBody listIndexVerfication">
  <div class="row">
    <div class="col-xs-9">
      <label> Dossier </label>
    </div>

    <div class="col-xs-3">
      <div ng-if="documentIndexs.index" style="color:#32d840;">Indexé</div>
      <div ng-if="!documentIndexs.index" style="color:#d83232;">Pas indexé</div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-9">
      <label> Filières </label>
    </div>
  </div>
  <div ng-repeat="filiere in documentIndexs.filieres">
    <div class="row">
      <div class="col-xs-9">
        <label> {{filiere.identifiant}} </label>
      </div>

      <div class="col-xs-3">
        <div ng-if="filiere.index" style="color:#32d840;">Indexé</div>
        <div ng-if="!filiere.index" style="color:#d83232;">Pas indexé</div>
      </div>
    </div>
    <div ng-repeat="ef in filiere.listfilieres">
      <div class="row">
        <div class="col-xs-9">
          <label> {{ef.identifiant}} </label>
        </div>
        <div class="col-xs-3">
          <div ng-if="ef.index" style="color:#32d840;">Indexé</div>
          <div ng-if="!ef.index" style="color:#d83232;">Pas indexé</div>
        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-9">
      <label> Contrôles </label>
    </div>
  </div>

  <div ng-repeat="controle in documentIndexs.controles">
    <div class="row">
      <div class="col-xs-9">
        <label> {{controle.identifiant}} </label>
      </div>
      <div class="col-xs-3">
        <div ng-if="controle.index" style="color:#32d840;">Indexé</div>
        <div ng-if="!controle.index" style="color:#d83232;">Pas indexé</div>
      </div>
    </div>

    <div class="row">
      <div
        class="col-xs-9"
        ng-click="getcontroledetail(documentId ,controle.identifiant)"
      >
        <a> Contrôle Json </a>
      </div>
      <div class="col-xs-3">
        <div ng-if="controle.controle_json_indexe" style="color:#32d840;">
          Indexé
        </div>
        <div ng-if="!controle.controle_json_indexe" style="color:#d83232;">
          Pas indexé
        </div>
      </div>
    </div>
  </div>
</div>
