Fixed: review changes
This commit is contained in:
@@ -34,13 +34,21 @@ $(document).ready(function(){
|
||||
responsive: {576: {items: 2}},
|
||||
autoHeight:true,
|
||||
autoplay: htlInteriorSliderAutoplay,
|
||||
autoplaySpeed:1000,
|
||||
autoplaySpeed: 500,
|
||||
smartSpeed: 500,
|
||||
autoplayTimeout: htlInteriorSliderInterval,
|
||||
autoplayHoverPause:true,
|
||||
responsiveClass:true,
|
||||
rtl: language_is_rtl
|
||||
});
|
||||
|
||||
$('.htlInterior-owlCarousel .owl-carousel').on('translated.owl.carousel mouseleave', function() {
|
||||
var owl = $(this).data('owl.carousel');
|
||||
if (owl && owl.settings.autoplay && owl._plugins.autoplay && !owl._plugins.autoplay._paused) {
|
||||
owl._plugins.autoplay._setAutoPlayInterval();
|
||||
}
|
||||
});
|
||||
|
||||
$('.interiorbox').on('mouseenter', function(){
|
||||
$(this).find('div.interiorHoverBlockWrapper').show();
|
||||
});
|
||||
|
||||
@@ -66,7 +66,7 @@ class AdminHotelRoomModuleSettingController extends ModuleAdminController
|
||||
'hint' => $this->l('Enter a description for the property rooms block.'),
|
||||
),
|
||||
'HOTEL_ROOM_DISPLAY_PROPERTY' => array(
|
||||
'title' => $this->l('Display property name and city'),
|
||||
'title' => $this->l('Property location'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool',
|
||||
'default' => '0',
|
||||
|
||||
@@ -134,6 +134,13 @@ a.htlRoomTypeBookNow {
|
||||
margin: 0 0 12px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.htlRoomTypeNameText a:focus,
|
||||
.htlRoomTypeNameText a:active,
|
||||
.htlRoomCardImg:focus,
|
||||
.htlRoomTypeBookNow:focus {
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
.htlRoomCardFeatured {
|
||||
padding: 12px 0;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -91,7 +91,8 @@ $(document).ready(function() {
|
||||
dots: htlRoomSliderDots,
|
||||
autoplay: htlRoomSliderAutoplay,
|
||||
autoplayTimeout: htlRoomSliderInterval,
|
||||
autoplaySpeed: 1000,
|
||||
autoplaySpeed: 500,
|
||||
smartSpeed: 500,
|
||||
autoplayHoverPause: true,
|
||||
margin: 24,
|
||||
items: 1,
|
||||
@@ -101,6 +102,13 @@ $(document).ready(function() {
|
||||
992: { items: 3 }
|
||||
}
|
||||
});
|
||||
|
||||
$('.htlRoom-owlCarousel .owl-carousel').on('translated.owl.carousel mouseleave', function() {
|
||||
var owl = $(this).data('owl.carousel');
|
||||
if (owl && owl.settings.autoplay && owl._plugins.autoplay && !owl._plugins.autoplay._paused) {
|
||||
owl._plugins.autoplay._setAutoPlayInterval();
|
||||
}
|
||||
});
|
||||
// fonts and icons can change the widths after the page is shown
|
||||
$(window).on('load', function() {
|
||||
fitRoomCards($('.htlRoom-owlCarousel .owl-carousel'));
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
{/block}
|
||||
<div class="htlRoomCardBody">
|
||||
{block name='hotel_room_block_room_type_description'}
|
||||
<p class="htlRoomTypeNameText">{$roomDisplay.name|escape:'htmlall':'UTF-8'}</p>
|
||||
<p class="htlRoomTypeNameText"><a href="{$link->getProductLink($roomDisplay.id_product)|escape:'html':'UTF-8'}">{$roomDisplay.name|escape:'htmlall':'UTF-8'}</a></p>
|
||||
{if isset($roomDisplay.property_name) && $roomDisplay.property_name}
|
||||
<p class="htlRoomCardProperty" title="{$roomDisplay.property_name|escape:'htmlall':'UTF-8'}{if isset($roomDisplay.property_location) && $roomDisplay.property_location}, {$roomDisplay.property_location|escape:'htmlall':'UTF-8'}{/if}">
|
||||
<span><i class="icon-map-marker"></i> {$roomDisplay.property_name|escape:'htmlall':'UTF-8'}{if isset($roomDisplay.property_location) && $roomDisplay.property_location}, {$roomDisplay.property_location|escape:'htmlall':'UTF-8'}</span>{/if}
|
||||
|
||||
Reference in New Issue
Block a user