-

%title%

+

%title% %duration%

{{ 'listing.search.result.certified'|trans }} diff --git a/src/Cocorico/CoreBundle/Resources/views/Frontend/ListingResult/_result_listings.html.twig b/src/Cocorico/CoreBundle/Resources/views/Frontend/ListingResult/_result_listings.html.twig index 2ee9afa31..bbabe2c60 100644 --- a/src/Cocorico/CoreBundle/Resources/views/Frontend/ListingResult/_result_listings.html.twig +++ b/src/Cocorico/CoreBundle/Resources/views/Frontend/ListingResult/_result_listings.html.twig @@ -28,23 +28,23 @@
-
- {{ price }} +
+ {{ price }} -

- {{ vatInclusionText(app.request.getLocale()) }} - / {{ (0)|add_time_unit_text }} -

-
+

+ {{ vatInclusionText(app.request.getLocale()) }} + / {{ (0)|add_time_unit_text }} +

+
- - {% if listing.averageRating %} - {{ listing.averageRating | cocorico_star_rating }} + + {% if listing.averageRating %} + {{ listing.averageRating | cocorico_star_rating }} ({{ listing.commentCount }}) - {% endif %} + {% endif %}
{% if listing.certified %} @@ -71,7 +71,7 @@
{% if bundleExist('CocoricoDeliveryBundle') and not app.request.xmlHttpRequest %} {% include 'CocoricoDeliveryBundle:Frontend:Listing/_show_delivery.html.twig' with { - 'listing_delivery': listing.delivery + 'listing_delivery': listing.delivery } only %} {% endif %} @@ -79,6 +79,12 @@

{{ listing_location.city }}

+ {% if bundleExist('CocoricoListingSessionBundle') and not app.request.xmlHttpRequest %} + {% include 'CocoricoListingSessionBundle:Frontend:ListingResult/_show_duration.html.twig' with { + 'duration': listing.duration + } only %} + {% endif %} + {#