diff -u -r ../old/html/issue.item.html html/issue.item.html
--- ../old/html/issue.item.html	2007-10-05 05:06:30.000000000 +0200
+++ html/issue.item.html	2008-07-14 17:26:47.000000000 +0200
@@ -128,6 +147,49 @@
  by <b><tal:x replace="context/actor" i18n:name="actor" /></b>.
 </p>
 
+<table class="messages" tal:condition="context/messages">
+ <tr><th colspan="4" class="header" i18n:translate="">Messages</th></tr>
+ <!-- Use context/messages/reverse for reverse ordering -->
+ <tal:block tal:repeat="msg context/messages">
+  <tr>
+   <th><a tal:attributes="href string:msg${msg/id}"
+    i18n:translate="">msg<tal:x replace="msg/id" i18n:name="id" /> (view)</a></th>
+   <th i18n:translate="">Author: <tal:x replace="msg/author"
+       i18n:name="author" /></th>
+   <th i18n:translate="">Date: <tal:x replace="msg/date"
+       i18n:name="date" /></th>
+   <th>
+    <form style="padding:0" tal:condition="context/is_edit_ok"
+          tal:attributes="action string:issue${context/id}">
+     <input type="hidden" name="@remove@messages" tal:attributes="value msg/id">
+     <input type="hidden" name="@action" value="edit">
+     <input type="submit" value="remove" i18n:attributes="value">
+    </form>
+   </th>
+  </tr>
+  <tr>
+   <td colspan="4" class="content">
+     <pre tal:content="structure msg/content/hyperlinked">content</pre>
+
+     <tal:block tal:condition="msg/files">
+       <h5>Attachments</h5>
+       <ul>
+         <tal:block tal:repeat="file msg/files">
+           <li>
+             <a tal:attributes="href file/download_url"
+                tal:content="file/name">dld link</a>
+           </li>
+         </tal:block>
+       </ul>
+     </tal:block>
+   </td>
+  </tr>
+ </tal:block>
+</table>
+
+<!-- Uncomment the following to list all files without
+     their messages -->
+<!-- 
 <table class="files" tal:condition="context/files">
  <tr><th colspan="5" class="header" i18n:translate="">Files</th></tr>
  <tr>
@@ -160,33 +222,8 @@
   </td>
  </tr>
 </table>
+-->
 
-<table class="messages" tal:condition="context/messages">
- <tr><th colspan="4" class="header" i18n:translate="">Messages</th></tr>
- <tal:block tal:repeat="msg context/messages/reverse">
-  <tr>
-   <th><a tal:attributes="href string:msg${msg/id}"
-    i18n:translate="">msg<tal:x replace="msg/id" i18n:name="id" /> (view)</a></th>
-   <th i18n:translate="">Author: <tal:x replace="msg/author"
-       i18n:name="author" /></th>
-   <th i18n:translate="">Date: <tal:x replace="msg/date"
-       i18n:name="date" /></th>
-   <th>
-    <form style="padding:0" tal:condition="context/is_edit_ok"
-          tal:attributes="action string:issue${context/id}">
-     <input type="hidden" name="@remove@messages" tal:attributes="value msg/id">
-     <input type="hidden" name="@action" value="edit">
-     <input type="submit" value="remove" i18n:attributes="value">
-    </form>
-   </th>
-  </tr>
-  <tr>
-   <td colspan="4" class="content">
-    <pre tal:content="structure msg/content/hyperlinked">content</pre>
-   </td>
-  </tr>
- </tal:block>
-</table>
 
 <tal:block tal:condition="context/id" tal:replace="structure context/history" />
 
