Merge pull request #300 from sumitwebkul/gli-467
Room amenities name is shown with feature icon in room type details page
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
{if !empty($room_v['feature'])}
|
||||
<div class="rm_amenities_cont">
|
||||
{foreach from=$room_v['feature'] key=feat_k item=feat_v}
|
||||
<img src="{$link->getMediaLink("`$feat_img_dir`{$feat_v.value}")}" class="rm_amen"> {* by webkul change meddia link*}
|
||||
<img title="{$feat_v.name}" src="{$link->getMediaLink("`$feat_img_dir`{$feat_v.value}")}" class="rm_amen"> {* by webkul change meddia link*}
|
||||
{* <img src="{$feat_img_dir}{$feat_v['value']}" class="rm_amen"> *}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
@@ -1188,6 +1188,12 @@ Quick View Styles
|
||||
color: #000000;}
|
||||
.room_info_content .refund-rule-name {
|
||||
font-weight: 600;}
|
||||
.room_info_content .rm_ftr_wrapper {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
line-height: 28px;}
|
||||
.room_info_content .rm_ftr_wrapper img {
|
||||
width: 13px;}
|
||||
|
||||
.non_refundable_txt {
|
||||
font-weight: 600;
|
||||
|
||||
@@ -198,9 +198,13 @@
|
||||
<div class="room_info_heading">
|
||||
<span>{l s='Room Features'}</span>
|
||||
</div>
|
||||
<div class="room_info_content">
|
||||
<div class="room_info_content row">
|
||||
{foreach from=$features key=ftr_k item=ftr_v}
|
||||
<img title="{$ftr_v.name|escape:'html':'UTF-8'}" alt="{$ftr_v.name|escape:'html':'UTF-8'}" width="15px" src="{$link->getMediaLink("`$ftr_img_src|escape:'html':'UTF-8'`{$ftr_v.value|escape:'html':'UTF-8'}")}">
|
||||
<div class="col-md-3 col-sm-4 col-xs-6">
|
||||
<div class="rm_ftr_wrapper" title="{$ftr_v.name|escape:'html':'UTF-8'}" alt="{$ftr_v.name|escape:'html':'UTF-8'}" >
|
||||
<img src="{$link->getMediaLink("`$ftr_img_src|escape:'html':'UTF-8'`{$ftr_v.value|escape:'html':'UTF-8'}")}"> {$ftr_v.name|escape:'html':'UTF-8'}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user