Can configure spool root
[banana.git] / banana / templates / banana-message.inc.tpl
index 2924c6c..6fe2479 100644 (file)
     </td>
   </tr>
   {/if}
+  {assign var=alter value=$message->getAlternatives()}
+  {if $alter|@count}
+  <tr class="pair">
+    <td class="hdr">{"Versions"|b}</td>
+    <td colspan="2">
+      {foreach from=$alter key=ctype item=text name=alter}
+      {if $type eq $ctype}
+      {$text}
+      {if $extimages}[{link group=$group artid=$artid part=$type action=showext text="Afficher les images externes"|b}]{/if}
+      {else}
+      {link group=$group artid=$artid part=$ctype text=$text}
+      {/if}
+      {if !$smarty.foreach.alter.last}&nbsp;&bull;&nbsp;{/if}
+      {/foreach}
+    </td>
+  </tr>
+  {/if}
   <tr>
     <td colspan="3" class="body">
       {$body}