projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix alignment issues
[platal.git]
/
templates
/
xnetgrp
/
form.announce.tpl
diff --git
a/templates/xnetgrp/form.announce.tpl
b/templates/xnetgrp/form.announce.tpl
index
c1d6a49
..
961bd54
100644
(file)
--- a/
templates/xnetgrp/form.announce.tpl
+++ b/
templates/xnetgrp/form.announce.tpl
@@
-22,7
+22,7
@@
<table class="tinybicol" id="art{$art.id}">
<tr>
<table class="tinybicol" id="art{$art.id}">
<tr>
- <th>
+ <th
{if $art.photo}colspan="2"{/if}
>
{if $is_logged && !$admin}
<div style="float: right">
{if $is_admin}
{if $is_logged && !$admin}
<div style="float: right">
{if $is_admin}
@@
-37,6
+37,11
@@
</th>
</tr>
<tr>
</th>
</tr>
<tr>
+ {if $art.photo}
+ <td rowspan="{if ($is_logged || $admin) && $art.contacts}3{else}2{/if}" style="width: 100px">
+ <img src="{$platal->ns}announce/photo/{$art.id}" alt="{$art.titre}" style="width: 100px" />
+ </td>
+ {/if}
<td style="padding-bottom: 1em">
{$art.texte|miniwiki|smarty:nodefaults}
</td>
<td style="padding-bottom: 1em">
{$art.texte|miniwiki|smarty:nodefaults}
</td>
@@
-58,7
+63,7
@@
</tr>
{/if}
<tr class="pair">
</tr>
{/if}
<tr class="pair">
- <td>
+ <td
{if $art.photo}colspan="2"{/if}
>
<div style="float: right">
<small>
Annonce proposée par
<div style="float: right">
<small>
Annonce proposée par