Overview

Artifact ID: 31c86eff8e99051e19e97f3001ca88895f99d0d1
Ticket: 0dec83466ac27a280fea2aaeb72fecae7409b204
Ajout de compteur sur les listes
User & Date: ghostdog on 2014-11-10 11:52:35
Changes

  1. foundin changed to: "0.6.2"
  2. icomment:
    Bonjour,
    
    Certaines listes n'affichent pas le nombre d'éléments qu'elles contiennent comme la liste des membres ou le suivi des opérations. C'était pour moi les deux pages où cela manquait.
    
    Les mini-patchs ci-dessous permettent d'afficher ce nombre:
    
    $ diff -u templates/admin/membres/index.tpl~ templates/admin/membres/index.tpl
    --- templates/admin/membres/index.tpl~  2014-11-10 11:47:05.123997716 +0100
    +++ templates/admin/membres/index.tpl   2014-11-10 11:42:59.111997952 +0100
    @@ -41,6 +41,7 @@
         </fieldset>
     </form>
    
    +<p class="compte" align="right"><strong>{$liste|@count}</strong> membre list&eacute;s.</p>
     {if $user.droits.membres >= Garradin\Membres::DROIT_ECRITURE}
    
    $ diff -u templates/admin/compta/operations/index.tpl~  templates/admin/compta/operations/index.tpl
    --- templates/admin/compta/operations/index.tpl~        2014-11-10 11:25:13.534998971 +0100
    +++ templates/admin/compta/operations/index.tpl 2014-11-10 11:10:42.212999807 +0100
    @@ -64,8 +64,8 @@
         </tbody>
         <tfoot>
             <tr>
    -            <td></td>
    -            <td></td>
    +            <td>{$journal|@count}</td>
    +            <td>op&eacute;ration(s)</td>
                 <th>Total</th>
                 <td>{$total|html_money} {$config.monnaie|escape}</td>
                 <td></td>
    
  3. login: "ghostdog"
  4. mimetype: "text/plain"
  5. private_contact changed to: "f49fb24b6279d8e333bc8f352600b84edcc7cdb6"
  6. severity changed to: "Minor"
  7. status changed to: "Open"
  8. title changed to: "Ajout de compteur sur les listes"
  9. type changed to: "Feature_Request"