added Chappatte cartoon on homepage
This commit is contained in:
@@ -2,8 +2,19 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div style="padding-left: 140px; padding-right: 140px;">
|
||||
<h3 align="center">{{ cartoon_title }}</h2>
|
||||
<p class="text-center">
|
||||
<img src="{{ cartoon_url }}"
|
||||
class="img_responsive" style="display:inline; width:100%" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
{% if request.authenticated_userid %}
|
||||
<p><a href="{{ request.route_url('blog_edit', id='0') }}">[ Nouveau ]</a>
|
||||
<p>
|
||||
<a href="{{ request.route_url('blog_edit', id='0') }}">[ Nouveau ]</a>
|
||||
<a href="{{ request.route_url('blog_edit', id='95') }}">[ Sélectionner un autre le dessin ]</a>
|
||||
</p>
|
||||
{% endif%}
|
||||
|
||||
|
||||
@@ -128,10 +128,10 @@
|
||||
<td class="text-right">{{ ligne.Actifs.nombre }}</td>
|
||||
<td class="text-right">{{ '{0:0,.2f} €'.format(ligne.Actifs.valeur).replace(',',' ') }}</td>
|
||||
{% if ligne.Actifs.plus_value >= 0 %}
|
||||
<td class="text-right" style="color: green;">{{ '{0:0.2f} €'.format(ligne.Actifs.plus_value) }}</td>
|
||||
<td class="text-right" style="color: green;">{{ '{0:0,.2f} €'.format(ligne.Actifs.plus_value).replace(',',' ') }}</td>
|
||||
<td class="text-right" style="color: green;">{{ '{0:0.1f}'.format(ligne.Actifs.pc_plusvalue) }}</td>
|
||||
{% else %}
|
||||
<td class="text-right" style="color: red;">{{ '{0:0.2f} €'.format(ligne.Actifs.plus_value) }}</td>
|
||||
<td class="text-right" style="color: red;">{{ '{0:0,.2f} €'.format(ligne.Actifs.plus_value).replace(',',' ') }}</td>
|
||||
<td class="text-right" style="color: red;">{{ '{0:0.1f}'.format(ligne.Actifs.pc_plusvalue) }}</td>
|
||||
{% endif %}
|
||||
<td class="text-right">{{ '{0:0.1f}'.format(ligne.Actifs.ter) }}</td>
|
||||
@@ -143,10 +143,10 @@
|
||||
<td class="text-right" colspan="4"><b>Total au {{ maj_pf_le.strftime('%d/%m/%Y') }}</b></td>
|
||||
<td>{{ '{0:0,.2f} €'.format(total_valeur).replace(',',' ') }}</td>
|
||||
{% if total_pv >= 0 %}
|
||||
<td class="text-right" style="color: green;">{{ '{0:0.2f} €'.format(total_pv) }}</td>
|
||||
<td class="text-right" style="color: green;">{{ '{0:0,.2f} €'.format(total_pv).replace(',',' ') }}</td>
|
||||
<td class="text-right" style="color: green;">{{ '{0:0.1f}'.format(total_pc_value) }}</td>
|
||||
{% else %}
|
||||
<td class="text-right" style="color: red;">{{ '{0:0.2f} €'.format(total_pv) }}</td>
|
||||
<td class="text-right" style="color: red;">{{ '{0:0,.2f} €'.format(total_pv).replace(',',' ') }}</td>
|
||||
<td class="text-right" style="color: red;">{{ '{0:0.1f}'.format(total_pc_value) }}</td>
|
||||
{% endif %}
|
||||
<td></td>
|
||||
|
||||
Reference in New Issue
Block a user