<commit_before>{copixzone process=cahierdetextes|affichageMenu cahierId=$ppo->cahierId date_jour=$ppo->jour date_mois=$ppo->mois date_annee=$ppo->annee eleve=$ppo->eleve current="voirMemos"}

<h2>{i18n key="cahierdetextes.message.memos"}{if $ppo->estAdmin}<a class="floatright button button-add" href="{copixurl dest="cahierdetextes||editerMemo" cahierId=$ppo->cahierId jour=$ppo->jour mois=$ppo->mois annee=$ppo->annee}">{i18n key="cahierdetextes.message.addMemo"}</a>{/if}</h2>

{if $ppo->niveauUtilisateur == PROFILE_CCV_READ}
  {copixzone process=cahierdetextes|lienMinimail cahierId=$ppo->cahierId}
{/if}

{if $ppo->success}
  <p class="mesgSuccess">{i18n key="cahierdetextes.message.success"}</p>
{/if}



<div class="memos-list">
  {if $ppo->memos neq null}
    {foreach from=$ppo->memos item=memo}
      <div class="memo">
        <p class="memoDate">
          {if $ppo->estAdmin}
          <span class="actions">
            <a class="fancybox" href="{copixurl dest="cahierdetextes||suiviMemo" cahierId=$ppo->cahierId jour=$ppo->jour mois=$ppo->mois annee=$ppo->annee memoId=$memo->id}" title="{if $memo->avec_signature}{i18n key="cahierdetextes.message.seeValidated"}{else}{i18n key="cahierdetextes.message.seeConcerned"}{/if}"><img src="{copixurl}themes/default/images/menu/menu_list_active.png" alt="{if $memo->avec_signature}{i18n key="cahierdetextes.message.seeValidated"}{else}{i18n key="cahierdetextes.message.seeConcerned"}{/if}" /></a>
            <a href="{copixurl dest="|imprMemo" cahierId=$ppo->cahierId memoId=$memo->id jour=$ppo->jour mois=$ppo->mois annee=$ppo->annee}" title="{i18n key="cahierdetextes.message.print"}"><img src="{copixurl}themes/default/images/button-action/action_print.png" alt="{i18n key="cahierdetextes.message.print"}" /></a>
            <a href="{copixurl dest="cahierdetextes||editerMemo" cahierId=$ppo->cahierId memoId=$memo->id}" title="{i18n key="cahierdetextes.message.modify"}"><img src="{copixurl}themes/default/images/button-action/action_update.png" alt="{i18n key="cahierdetextes.message.modify"}" /></a>
            <a href="{copixurl dest="cahierdetextes||supprimerMemo" cahierId=$ppo->cahierId memoId=$memo->id}" onclick="return confirm('{i18n key="cahierdetextes.message.deleteMemoConfirm"}')" title="{i18n key="cahierdetextes.message.delete"}"><img src="{copixurl}themes/default/images/button-action/action_delete.png" alt="{i18n key="cahierdetextes.message.delete"}" /></a>
          </span>
          {/if}
        {$memo->date_creation|datei18n:text}</p>
        <div class="memoMesg">{$memo->message}</div>
        {if $memo->avec_signature}
          <div class="signature">
          {if $memo->signe_le|datei18n}
              <p class="confirmSign"><span>{i18n key="cahierdetextes.message.signOn"} <strong>{$memo->signe_le|datei18n}</strong></span>
                {if $memo->commentaire neq null && $ppo->niveauUtilisateur == PROFILE_CCV_READ}<p>{$memo->commentaire}</p>{/if}</p>
          {else}
              <p class="warningSign"><span>{i18n key="cahierdetextes.message.toSignOn"} <strong>{$memo->date_max_signature|datei18n}</strong></span></p>
          {/if}
          {if $ppo->niveauUtilisateur == PROFILE_CCV_READ && $memo->signe_le == ''}
              <form name="memo_sign" id="memo_sign" action="{copixurl dest="cahierdetextes||voirMemos"}" method="POST" enctype="multipart/form-data">
                <input type="hidden" name="cahierId" id="cahierId" value="{$ppo->cahierId}" />
                <input type="hidden" name="memoId" id="memoId" value="{$memo->id}" /><commit_msg>Cahier de textes / Bouton écrire sur ligne du H2<commit_after>{copixzone process=cahierdetextes|affichageMenu cahierId=$ppo->cahierId date_jour=$ppo->jour date_mois=$ppo->mois date_annee=$ppo->annee eleve=$ppo->eleve current="voirMemos"}

<h2>{i18n key="cahierdetextes.message.memos"}{if $ppo->estAdmin}<a class="floatright button button-add" href="{copixurl dest="cahierdetextes||editerMemo" cahierId=$ppo->cahierId jour=$ppo->jour mois=$ppo->mois annee=$ppo->annee}">{i18n key="cahierdetextes.message.addMemo"}</a>{/if}{if $ppo->niveauUtilisateur == PROFILE_CCV_READ}{copixzone process=cahierdetextes|lienMinimail cahierId=$ppo->cahierId}{/if}</h2>

{if $ppo->success}
  <p class="mesgSuccess">{i18n key="cahierdetextes.message.success"}</p>
{/if}

<div class="memos-list">
  {if $ppo->memos neq null}
    {foreach from=$ppo->memos item=memo}
      <div class="memo">
        <p class="memoDate">
          {if $ppo->estAdmin}
          <span class="actions">
            <a class="fancybox" href="{copixurl dest="cahierdetextes||suiviMemo" cahierId=$ppo->cahierId jour=$ppo->jour mois=$ppo->mois annee=$ppo->annee memoId=$memo->id}" title="{if $memo->avec_signature}{i18n key="cahierdetextes.message.seeValidated"}{else}{i18n key="cahierdetextes.message.seeConcerned"}{/if}"><img src="{copixurl}themes/default/images/menu/menu_list_active.png" alt="{if $memo->avec_signature}{i18n key="cahierdetextes.message.seeValidated"}{else}{i18n key="cahierdetextes.message.seeConcerned"}{/if}" /></a>
            <a href="{copixurl dest="|imprMemo" cahierId=$ppo->cahierId memoId=$memo->id jour=$ppo->jour mois=$ppo->mois annee=$ppo->annee}" title="{i18n key="cahierdetextes.message.print"}"><img src="{copixurl}themes/default/images/button-action/action_print.png" alt="{i18n key="cahierdetextes.message.print"}" /></a>
            <a href="{copixurl dest="cahierdetextes||editerMemo" cahierId=$ppo->cahierId memoId=$memo->id}" title="{i18n key="cahierdetextes.message.modify"}"><img src="{copixurl}themes/default/images/button-action/action_update.png" alt="{i18n key="cahierdetextes.message.modify"}" /></a>
            <a href="{copixurl dest="cahierdetextes||supprimerMemo" cahierId=$ppo->cahierId memoId=$memo->id}" onclick="return confirm('{i18n key="cahierdetextes.message.deleteMemoConfirm"}')" title="{i18n key="cahierdetextes.message.delete"}"><img src="{copixurl}themes/default/images/button-action/action_delete.png" alt="{i18n key="cahierdetextes.message.delete"}" /></a>
          </span>
          {/if}
        {$memo->date_creation|datei18n:text}</p>
        <div class="memoMesg">{$memo->message}</div>
        {if $memo->avec_signature}
          <div class="signature">
          {if $memo->signe_le|datei18n}
              <p class="confirmSign"><span>{i18n key="cahierdetextes.message.signOn"} <strong>{$memo->signe_le|datei18n}</strong></span>
                {if $memo->commentaire neq null && $ppo->niveauUtilisateur == PROFILE_CCV_READ}<p>{$memo->commentaire}</p>{/if}</p>
          {else}
              <p class="warningSign"><span>{i18n key="cahierdetextes.message.toSignOn"} <strong>{$memo->date_max_signature|datei18n}</strong></span></p>
          {/if}
          {if $ppo->niveauUtilisateur == PROFILE_CCV_READ && $memo->signe_le == ''}
              <form name="memo_sign" id="memo_sign" action="{copixurl dest="cahierdetextes||voirMemos"}" method="POST" enctype="multipart/form-data">
                <input type="hidden" name="cahierId" id="cahierId" value="{$ppo->cahierId}" />
                <input type="hidden" name="memoId" id="memoId" value="{$memo->id}" />
{'fraction_non_alphanumeric': 0.19318340550356194, 'fraction_numerical': 0.011873166643385948, 'mean_word_length': 5.135389888603256, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 181, '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': '5566081', 'n_tokens_mistral': 2786, 'n_tokens_neox': 2670, 'n_words': 319}