Skip to content

Commit

Permalink
Merge pull request #226 from sumitwebkul/gli-560
Browse files Browse the repository at this point in the history
New hooks added
  • Loading branch information
rohit053 authored Mar 8, 2021
2 parents 172545c + 8687d64 commit 9c2b962
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
{/if}
<div class="col-sm-12 col-md-6 margin-btm-30">
<img src="{$roomDisplay.image|escape:'htmlall':'UTF-8'}" alt="{$roomDisplay.name|escape:'htmlall':'UTF-8'}" class="img-responsive width-100">
{hook h='displayHotelRoomsBlockImageAfter' room_type=$roomDisplay}
<div class="hotelRoomDescContainer">
<div class="row margin-lr-0">
<p class="htlRoomTypeNameText pull-left">{$roomDisplay.name|escape:'htmlall':'UTF-8'}</p>
Expand Down
3 changes: 2 additions & 1 deletion themes/hotel-reservation-theme/_partials/room_type_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<div class="row">
<div class="col-sm-4">
<a href="{$room_v['product_link']}">
<img src="{$room_v['image']}" class="img-responsive">
<img src="{$room_v['image']}" class="img-responsive">
{hook h='displayRoomTypeListImageAfter' product=$room_v}
</a>
</div>
<div class="col-sm-8">
Expand Down
1 change: 1 addition & 0 deletions themes/hotel-reservation-theme/footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
</div><!-- #columns -->
</div><!-- .columns-container -->
{if isset($HOOK_FOOTER)}
{hook h='displayFooterBefore'}
<!-- Footer -->
<div class="footer-container">
<footer id="footer" class="container">
Expand Down
1 change: 1 addition & 0 deletions themes/hotel-reservation-theme/product.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@
</div>
{/if}
{/if}
{if isset($HOOK_EXTRA_RIGHT) && $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if}
</div>
</div> <!-- end primary_block -->
Expand Down

0 comments on commit 9c2b962

Please sign in to comment.