{{#if results}}
{{#each results}} {{#bindBlock this}}
{{#if hotel.thumb}} {{/if}} {{#if hotel.offersThumbList}}
{{#each hotel.offersThumbList}}
{{/each}}
{{/if}} {{#if hotel.recommended}}
{{i18n "recommended"}}
{{/if}}
{{#if hotel.category}}
{{{hotel.category}}}
{{/if}} {{#if @root.config.showTripadvisor}}
{{/if}}
{{#if (logic (logic availability "and" availability.bestDeal) "or" hotel.recommended)}}
{{i18n ""}}
{{/if}}
{{{hotel.name}}}
{{{hotel.zone}}}
{{#if @root.config.googleMapsEnabled}} {{#ifCondAnd hotel.latitude hotel.longitude}} {{/ifCondAnd}} {{/if}}
{{#if (logic @root.config.showPayAtDestination "&&" availability.hasPayAtHotel)}}
{{i18n "hotelPayType:hotel"}}
{{/if}} {{#if (logic (not availability.bestDeal) "&&" (logic availability.isOffer "&&" availability.offerDescription))}}
{{/if}}
{{#if availability.price}}
{{i18n "best stay price"}}
{{{formatCurrency availability.price availability.currency "floor"}}}
{{/if}} {{#if availability.options}} {{/if}}
{{#if availability.options}}
{{#eachSlice availability.options @root.config.optionsToShow 'left'}} {{> optionPartial}} {{/eachSlice}} {{#shouldShowMoreOptions @this @root.config.optionsToShow}}
{{#eachSlice availability.options @root.config.optionsToShow 'right'}} {{> optionPartial}} {{/eachSlice}}
{{/shouldShowMoreOptions}}
{{else}}
{{/if}}
{{#*inline 'optionPartial'}} {{#bindBlock this}}
{{#eachGroupedByName roomList}}
{{numberOfRooms this groupedListLength}}{{name}} {{contractName}}
{{../boardTypeName}}
{{/eachGroupedByName}}
{{#if nonRefundable}} {{else if bookable}} {{/if}}
{{#ifComp rateType "=" "package"}} {{/ifComp}}
{{#if offers}} {{/if}} {{#if restrictions}} {{/if}} {{#if supplements}} {{/if}}
{{#*inline 'supplementContent'}}
    {{#each this}}
  • {{#if name}} {{#if description}} {{name}}
    {{else}} {{name}} {{/if}} {{/if}} {{description}}
  • {{/each}}
{{/inline}}
{{#if price}}
{{{formatCurrency price currency "floor"}}}
{{#if priceWithoutDiscount}}
{{{formatCurrency priceWithoutDiscount currency "floor"}}}
{{/if}}
{{/if}} {{#if bookable}} {{#if available}} {{else}} {{/if}} {{else}} {{#if requiresRepricing}} {{i18n "book"}} {{else}} {{i18n "option not bookable"}} {{/if}} {{/if}}
{{#if bookable}}
{{/if}}
{{/bindBlock}} {{/inline}} {{/bindBlock}} {{/each}}
{{/if}}