Can overload the xface generation using a custom image
[banana.git] / banana / templates / banana-message.inc.tpl
index 8a07445..8181892 100644 (file)
@@ -34,7 +34,7 @@
     {if $smarty.foreach.headers.first}
     <td class="xface" rowspan="{$headers|@count}">
       {if $message->hasXFace()}
-      <img src="{url group=$group artid=$artid part="xface"}" alt="[ X-Face ]" />
+      <img src="{url group=$group artid=$artid part="xface"}" style="width: 48px" alt="[ X-Face ]" />
       {/if}
     </td>
     {/if}
@@ -52,7 +52,7 @@
   </tr>
   {/if}
   {assign var=signature value=$message->getSignature()}
-  {if $signature|@count}
+  {if $signature && $signature.key.id}
   <tr class="pair">
     <td class="hdr">{"Signature"|b}</td>
     <td colspan="2">