Changeset 74956 in spip-zone


Ignore:
Timestamp:
Aug 26, 2013, 8:34:14 AM (6 years ago)
Author:
marcimat@…
Message:

Trier les fichiers et dossiers par nom dans la colonne de navigation. (bis!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/code.spip.net/autodoc/trunk/templates/zora/inclure/nav-directory.twig

    r74955 r74956  
    22
    33
    4 {% for file in directory.files|trier(name) %}
     4{% for file in directory.files|trier("name") %}
    55<li{% if path(file) == path(node) %} class='active'{% endif %}>
    66        <a href="{{ path(file) }}">
     
    1111
    1212
    13 {% for sub_directory in directory.directories|trier(name) %}
     13{% for sub_directory in directory.directories|trier("name") %}
    1414        <li class='groupe{% if path(sub_directory) == path(node) %} active{% endif %}'>
    1515                <a href="{{ path(sub_directory) }}">
Note: See TracChangeset for help on using the changeset viewer.