Fix basket tooltip display

This commit is contained in:
Romain Neutron
2012-02-17 13:19:23 +01:00
parent 153c43fd09
commit 9889ac720e
3 changed files with 65 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
{% import 'common/thumbnail.html' as thumbnail %}
<div style="margin:5px;width:280px;height:300px;position:relative;">
<div class="noToolTipResize" style="margin:5px;width:280px;height:300px;position:relative;">
<div>
<span style="font-weight:bold;font-size:14px;">
{{ basket.getName() }}
@@ -15,13 +15,15 @@
{{ nb_records }} records
{% endtrans %}
- {{ date }}
<hr/>
<div style="position:relative;float:left;width:270px;">
{% for element in basket.getElements() %}
{% if loop.index <= 9 %}
<div style="margin:5px;position:relative;float:left;width:80px;height:80px;overflow:hidden;">
{{ thumbnail.format(element.getRecord().get_thumbnail(), 80, 80 , '', session) }}
</div>
{% endif %}
{% endfor %}
<hr/>
<div style="position:relative;float:left;width:270px;">
{% for element in basket.getElements() %}
{% if loop.index <= 9 %}
<div style="margin:5px;position:relative;float:left;width:80px;height:80px;overflow:hidden;">
{{ thumbnail.format(element.getRecord().get_thumbnail(), 80, 80 , '', session) }}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>