Abandon de l’affichage de la position (c’est moche). Il faudra trouver un moyen de...
[Plinn.git] / skins / photo_theme / folder_contents_macros.pt
index c2c3780..b359ad3 100644 (file)
@@ -16,7 +16,7 @@
     <div style="display:none">
       <span id="FolderUrl" tal:content="here/absolute_url" >Folder url for script</span>
       <span tal:condition="options/form/is_orderable" tal:omit-tag="">
     <div style="display:none">
       <span id="FolderUrl" tal:content="here/absolute_url" >Folder url for script</span>
       <span tal:condition="options/form/is_orderable" tal:omit-tag="">
-             <span id="FirstItemPos" tal:content="python:listItemInfos[0]['position']">first batch item position</span>
+             <span id="FirstItemPos" tal:content="batch_dict/firstItemPos">first batch item position</span>
              <span id="BatchNavigationSize" tal:content="batch/size"></span>
            </span>
     </div>
              <span id="BatchNavigationSize" tal:content="batch/size"></span>
            </span>
     </div>
@@ -65,9 +65,6 @@
                      <td>
                        <span tal:replace="item_info/modified">2001</span>
                      </td>
                      <td>
                        <span tal:replace="item_info/modified">2001</span>
                      </td>
-                     <td>
-                       <span tal:replace="item_info/position">1</span>
-                     </td>
                    </tr>
 </tbody>
                </tbody>
                    </tr>
 </tbody>
                </tbody>