Basket push unread

fix #61
This commit is contained in:
Olivier Mayer
2015-04-07 19:17:22 +09:00
parent be4d86e257
commit 33207d1dc2
3 changed files with 8 additions and 1 deletions

View File

@@ -15,6 +15,9 @@
{% if basket.getId() == selected_id and selected_type == 'basket' %}active{% endif %}"> {% if basket.getId() == selected_id and selected_type == 'basket' %}active{% endif %}">
<a class="workzone-menu-title" href="{{ path('prod_baskets_basket', { 'basket' : basket.getId() }) }}"> <a class="workzone-menu-title" href="{{ path('prod_baskets_basket', { 'basket' : basket.getId() }) }}">
<span> <span>
{% if not basket.getIsRead() %}
<img src='/skins/icons/basket_push_unread.png' title=''/>
{% endif %}
<img src='/skins/icons/basket.png' title=''/> <img src='/skins/icons/basket.png' title=''/>
{{basket.getName()}} {{basket.getName()}}
</span> </span>
@@ -88,7 +91,11 @@
{% if basket.getValidation() %} {% if basket.getValidation() %}
<img src='/skins/icons/basket_validation.png' title=''/> <img src='/skins/icons/basket_validation.png' title=''/>
{% elseif basket.getPusher() %} {% elseif basket.getPusher() %}
<img src='/skins/icons/basket_push.png' title=''/> {% if not basket.getIsRead() %}
<img src='/skins/icons/basket_push_unread.png' title=''/>
{% else %}
<img src='/skins/icons/basket_push.png' title=''/>
{% endif %}
{% else %} {% else %}
<img src='/skins/icons/basket.png' title=''/> <img src='/skins/icons/basket.png' title=''/>
{% endif %} {% endif %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB