simplifier tableau Actifs dans home.pt

This commit is contained in:
2018-08-31 23:35:12 +02:00
parent d692dd88f1
commit 2cc4baf84d
2 changed files with 3 additions and 6 deletions

View File

@@ -100,6 +100,9 @@
<input class="form-control" type="text" name="website"
value="${actif.website}" placeholder="100 caractères maximum" />
</div>
<div class="col-xs-2">
<a class="btn btn-primary" href="${actif.website}" target="_blank">Consulter</a>
</div>
</div>
<br />
<div class="form-group">

View File

@@ -102,8 +102,6 @@
<th class="text-right">Rdt brut</th>
<th class="text-right">% Rdt</th>
<th class="text-right">% PF</th>
<th class="text-right">TER</th>
<th class="text-right"></th>
</tr>
</thead>
<tbody>
@@ -120,9 +118,6 @@
<td class="text-right">${u'%.0f €' % (ligne.rendement)}</td>
<td class="text-right">${layout.to_percent(ligne.pc_rdt,1)}</td>
<td class="text-right">${ligne.pc_allocation} %</td>
<td class="text-right">${layout.to_percent(ligne.ter,2)}</td>
<td tal:condition="ligne.website"><a href="${ligne.website}" target="__blank"><span class="glyphicon glyphicon-search"></span></td>
<td tal:condition="not ligne.website"></td>
</tr>
<tr>
<td class="text-right" colspan="3"><b>Total</b></td>
@@ -132,7 +127,6 @@
<td class="text-right"><b>${total_rdt} €</b></td>
<td></td>
<td class="text-right"><b>100.0 %</b></td>
<td></td>
</tr>
</tbody>
</table>