mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#402 location show add settings && scroll table show only mobile
This commit is contained in:
parent
4faf963987
commit
28c77f1da8
@ -134,8 +134,10 @@
|
|||||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
||||||
<span class="icon"><i class="far fa-clock"></i><a
|
<span class="icon"><i class="far fa-clock"></i><a
|
||||||
href="#">{{ adv.created_at|date('d/m/Y') }}</a></span>
|
href="#">{{ adv.created_at|date('d/m/Y') }}</a></span>
|
||||||
|
{% if setting_value('visiosoft.module.location::detail_page_location') %}
|
||||||
<span class="icon"><i class="fa fa-map-marker"></i><a href="#">{{ adv.city_name }}
|
<span class="icon"><i class="fa fa-map-marker"></i><a href="#">{{ adv.city_name }}
|
||||||
, {{ adv.country_name }}</a></span>
|
, {{ adv.country_name }}qqq</a></span>
|
||||||
|
{% endif %}
|
||||||
{% if adv.isCorporate == 2 %}
|
{% if adv.isCorporate == 2 %}
|
||||||
<span class="icon"><i class="fa fa-suitcase"></i><a
|
<span class="icon"><i class="fa fa-suitcase"></i><a
|
||||||
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}">{{ adv.owner }}</a></span>
|
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}">{{ adv.owner }}</a></span>
|
||||||
@ -278,7 +280,7 @@
|
|||||||
{% include "visiosoft.module.customfields::list-item" %}
|
{% include "visiosoft.module.customfields::list-item" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if adv.map_Val != "" %}
|
{% if adv.map_Val != "" and setting_value('visiosoft.module.location::detail_page_location') %}
|
||||||
<div id="streetviewtab" class="tab-pane fade in">
|
<div id="streetviewtab" class="tab-pane fade in">
|
||||||
<div id="map" data-map-val="{{ adv.map_Val }}"></div>
|
<div id="map" data-map-val="{{ adv.map_Val }}"></div>
|
||||||
{% if entries('advs').isEnabled('streetview') %}
|
{% if entries('advs').isEnabled('streetview') %}
|
||||||
@ -334,9 +336,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- item-info-right -->
|
<!-- item-info-right -->
|
||||||
<div class="user-option pull-right">
|
<div class="user-option pull-right">
|
||||||
|
{% if setting_value('visiosoft.module.location::detail_page_location') %}
|
||||||
<a href="#" data-toggle="tooltip" data-placement="top" title=""
|
<a href="#" data-toggle="tooltip" data-placement="top" title=""
|
||||||
data-original-title="{{ advs.city_name }}, {{ advs.country_name }}"><i
|
data-original-title="{{ advs.city_name }}, {{ advs.country_name }}"><i
|
||||||
class="fa fa-map-marker"></i> </a>
|
class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
</div><!-- item-info-right -->
|
</div><!-- item-info-right -->
|
||||||
</div><!-- ad-meta -->
|
</div><!-- ad-meta -->
|
||||||
</div><!-- item-info -->
|
</div><!-- item-info -->
|
||||||
|
|||||||
@ -121,7 +121,9 @@
|
|||||||
</video>">
|
</video>">
|
||||||
<i class="fa fa-film"></i> </a>
|
<i class="fa fa-film"></i> </a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}" data-toggle="tooltip" data-placement="top" title="{{ adv.city_name }}, {{ adv.country_name }}"><i class="fa fa-map-marker"></i> </a>
|
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}" data-toggle="tooltip" data-placement="top" title="{{ adv.city_name }}, {{ adv.country_name }}"><i class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
<a class="online" href="" data-toggle="tooltip" data-placement="top" title="{{ adv.owner }}"><i class="fa fa-user"></i> </a>
|
<a class="online" href="" data-toggle="tooltip" data-placement="top" title="{{ adv.owner }}"><i class="fa fa-user"></i> </a>
|
||||||
|
|
||||||
{% if entries('advs').isEnabled('comparisons') %}
|
{% if entries('advs').isEnabled('comparisons') %}
|
||||||
@ -181,7 +183,9 @@
|
|||||||
<source src='{{ adv.isAdVideo }}' class='video-src' type='video/mp4' />
|
<source src='{{ adv.isAdVideo }}' class='video-src' type='video/mp4' />
|
||||||
</video>"></a>
|
</video>"></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}" data-toggle="tooltip" data-placement="top" title="{{ adv.city_name }}, {{ adv.country_name }}"><i class="fa fa-map-marker"></i> </a>
|
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}" data-toggle="tooltip" data-placement="top" title="{{ adv.city_name }}, {{ adv.country_name }}"><i class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
<a class="online" href="" data-toggle="tooltip" data-placement="top" title="{{ adv.owner }}"><i class="fa fa-user"></i> </a>
|
<a class="online" href="" data-toggle="tooltip" data-placement="top" title="{{ adv.owner }}"><i class="fa fa-user"></i> </a>
|
||||||
|
|
||||||
{% if entries('advs').isEnabled('comparisons') %}
|
{% if entries('advs').isEnabled('comparisons') %}
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<div class="featured-top-display-settings">
|
<div class="featured-top-display-settings">
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::view_type',['map']) }}"><h4 class="viewType"> <i class="fa fa-map-marker" ></i> {{ trans("visiosoft.module.advs::field.show_display_mode.map") }}</h4></a>
|
<a href="{{ url_route('visiosoft.module.advs::view_type',['map']) }}"><h4 class="viewType"> <i class="fa fa-map-marker" ></i> {{ trans("visiosoft.module.advs::field.show_display_mode.map") }}</h4></a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::view_type',['list']) }}"><h4 class="viewType"> <i class="fa fa-list-ul" ></i> {{ trans('visiosoft.module.advs::field.show_list_view.name') }} </h4></a>
|
<a href="{{ url_route('visiosoft.module.advs::view_type',['list']) }}"><h4 class="viewType"> <i class="fa fa-list-ul" ></i> {{ trans('visiosoft.module.advs::field.show_list_view.name') }} </h4></a>
|
||||||
<a href="{{ url_route('visiosoft.module.advs::view_type',['table']) }}"><h4 class="viewType"> <i class="fa fa-table" ></i> {{ trans('visiosoft.module.advs::field.show_table_view.name') }} </h4></a>
|
<a href="{{ url_route('visiosoft.module.advs::view_type',['table']) }}"><h4 class="viewType"> <i class="fa fa-table" ></i> {{ trans('visiosoft.module.advs::field.show_table_view.name') }} </h4></a>
|
||||||
</div>
|
</div>
|
||||||
@ -32,9 +32,11 @@
|
|||||||
<td class="vertical-center">
|
<td class="vertical-center">
|
||||||
{{ adv.created_at|date("d/m/Y") }}
|
{{ adv.created_at|date("d/m/Y") }}
|
||||||
</td>
|
</td>
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<td class="vertical-center">
|
<td class="vertical-center">
|
||||||
{{ adv.city_name }} / {{ adv.country_name }}
|
{{ adv.city_name }} / {{ adv.country_name }}
|
||||||
</td>
|
</td>
|
||||||
|
{% endif %}
|
||||||
{% if entries('advs').isEnabled('customfields') %}
|
{% if entries('advs').isEnabled('customfields') %}
|
||||||
{% include "visiosoft.module.customfields::cftablerow" %}
|
{% include "visiosoft.module.customfields::cftablerow" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -57,9 +59,11 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-row-name-bar">
|
<div class="table-row-name-bar">
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
||||||
data-toggle="tooltip" data-placement="top" title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
data-toggle="tooltip" data-placement="top" title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
||||||
class="fa fa-map-marker"></i> </a>
|
class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
<a class="online" href="" data-toggle="tooltip" data-placement="top" title="{{ adv.owner }}"><i
|
<a class="online" href="" data-toggle="tooltip" data-placement="top" title="{{ adv.owner }}"><i
|
||||||
class="fa fa-user"></i> </a>
|
class="fa fa-user"></i> </a>
|
||||||
{% if entries('advs').isEnabled('comparisons') %}
|
{% if entries('advs').isEnabled('comparisons') %}
|
||||||
@ -78,9 +82,11 @@
|
|||||||
<td class="vertical-center">
|
<td class="vertical-center">
|
||||||
{{ adv.created_at|date("d/m/Y") }}
|
{{ adv.created_at|date("d/m/Y") }}
|
||||||
</td>
|
</td>
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<td class="vertical-center">
|
<td class="vertical-center">
|
||||||
{{ adv.city_name }} / {{ adv.country_name }}
|
{{ adv.city_name }} / {{ adv.country_name }}
|
||||||
</td>
|
</td>
|
||||||
|
{% endif %}
|
||||||
{% if entries('advs').isEnabled('customfields') %}
|
{% if entries('advs').isEnabled('customfields') %}
|
||||||
{% include "visiosoft.module.customfields::cftablerow" %}
|
{% include "visiosoft.module.customfields::cftablerow" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -94,7 +94,9 @@
|
|||||||
<th scope="col" colspan="2" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.name') }}</th>
|
<th scope="col" colspan="2" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.name') }}</th>
|
||||||
<th scope="col" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.price') }}</th>
|
<th scope="col" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.price') }}</th>
|
||||||
<th scope="col" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.publish_at') }}</th>
|
<th scope="col" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.publish_at') }}</th>
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<th scope="col" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.location_city') }} / {{ trans('visiosoft.module.advs::field.advs_list_table_thead.location_country') }}</th>
|
<th scope="col" class="text-center">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.location_city') }} / {{ trans('visiosoft.module.advs::field.advs_list_table_thead.location_country') }}</th>
|
||||||
|
{% endif %}
|
||||||
{% if entries('advs').isEnabled('customfields') %}
|
{% if entries('advs').isEnabled('customfields') %}
|
||||||
{% include "visiosoft.module.customfields::cftable" %}
|
{% include "visiosoft.module.customfields::cftable" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -36,7 +36,7 @@
|
|||||||
</div><!-- panel-body -->
|
</div><!-- panel-body -->
|
||||||
</div>
|
</div>
|
||||||
</div><!-- panel -->
|
</div><!-- panel -->
|
||||||
|
{% if setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
<div class="panel-default panel-faq">
|
<div class="panel-default panel-faq">
|
||||||
<!-- panel-heading -->
|
<!-- panel-heading -->
|
||||||
<div class="panel-heading active-faq">
|
<div class="panel-heading active-faq">
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</div><!-- panel-body -->
|
</div><!-- panel-body -->
|
||||||
</div>
|
</div>
|
||||||
</div><!-- panel -->
|
</div><!-- panel -->
|
||||||
|
{% endif %}
|
||||||
{% for key,value in checkboxes %}
|
{% for key,value in checkboxes %}
|
||||||
<!-- panel -->
|
<!-- panel -->
|
||||||
<div class="panel-default panel-faq">
|
<div class="panel-default panel-faq">
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
$(window).on('load',function(){
|
$(window).on('load',function(){
|
||||||
$('#swipeTableModal').modal('show');
|
if (window.innerWidth < 800) {
|
||||||
|
$('#swipeTableModal').modal('show');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
@ -9,6 +9,8 @@
|
|||||||
<form action="{{ url('advs/list') }}" id="home-page-search-form" method="get">
|
<form action="{{ url('advs/list') }}" id="home-page-search-form" method="get">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
|
{% if setting_value('visiosoft.module.location::home_page_location') %}
|
||||||
<div class="col-md-2 home-search-field">
|
<div class="col-md-2 home-search-field">
|
||||||
<div class="form-group ">
|
<div class="form-group ">
|
||||||
{% set cities = entries('location','cities').orderBy('slug').get() %}
|
{% set cities = entries('location','cities').orderBy('slug').get() %}
|
||||||
@ -21,49 +23,53 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 home-search-field">
|
<div class="col-md-2 home-search-field">
|
||||||
<div class="form-group ">
|
{% else %}
|
||||||
<ul>
|
<div class="col-md-4 home-search-field">
|
||||||
<li class="dropdown home-search-category-field">
|
{% endif %}
|
||||||
{% set cats = entries('cats','category').where('parent_category_id', null).where('deleted_at', null).orderBy('order').get() %}
|
|
||||||
<a href="#" class="btn btn-default" data-toggle="dropdown" role="button"
|
<div class="form-group ">
|
||||||
aria-haspopup="true" aria-expanded="false">
|
<ul>
|
||||||
|
<li class="dropdown home-search-category-field">
|
||||||
|
{% set cats = entries('cats','category').where('parent_category_id', null).where('deleted_at', null).orderBy('order').get() %}
|
||||||
|
<a href="#" class="btn btn-default" data-toggle="dropdown" role="button"
|
||||||
|
aria-haspopup="true" aria-expanded="false">
|
||||||
<span class="selected-category-item"
|
<span class="selected-category-item"
|
||||||
style="display: inline-block;">{{ trans('theme::fields.categories') }}</span>
|
style="display: inline-block;">{{ trans('theme::fields.categories') }}</span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu cat-dropdown-menu">
|
<ul class="dropdown-menu cat-dropdown-menu">
|
||||||
{% for cat in cats %}
|
{% for cat in cats %}
|
||||||
<li><a href="#" data-id="{{ cat.id }}"
|
<li><a href="#" data-id="{{ cat.id }}"
|
||||||
class="navigation-category-select-item">{{ cat.name }}</a>
|
class="navigation-category-select-item">{{ cat.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<input type="hidden" value="" name="cat" id="searchable_category_input"
|
||||||
<input type="hidden" value="" name="cat" id="searchable_category_input"
|
class="select-category-home-id">
|
||||||
class="select-category-home-id">
|
<div class="col-md-4 home-search-field">
|
||||||
<div class="col-md-4 home-search-field">
|
<div class="form-group ">
|
||||||
<div class="form-group ">
|
{% set SearchPlaceHolder = entries('cats','placeholderforsearch').get() %}
|
||||||
{% set SearchPlaceHolder = entries('cats','placeholderforsearch').get() %}
|
<input type="text" name="keyword" data-period="2000" id="search_ac_navigator"
|
||||||
<input type="text" name="keyword" data-period="2000" id="search_ac_navigator"
|
data-type='[{% for placeholder in SearchPlaceHolder %}"{{ placeholder.name }}","...",{% endfor %}"..."]'
|
||||||
data-type='[{% for placeholder in SearchPlaceHolder %}"{{ placeholder.name }}","...",{% endfor %}"..."]'
|
class="form-control search-input">
|
||||||
class="form-control search-input">
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-1 home-search-field">
|
||||||
|
<button type="submit" class="btn btn-default pl-5 pr-5 search-button"><i
|
||||||
|
class="fa fa-search"></i> {{ trans('theme::fields.search') }}
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="col-md-1 home-search-field">
|
|
||||||
<button type="submit" class="btn btn-default pl-5 pr-5 search-button"><i
|
|
||||||
class="fa fa-search"></i> {{ trans('theme::fields.search') }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-3 home-search-field">
|
<div class="col-md-3 home-search-field">
|
||||||
<button type="button" class="btn btn-default map-search-button pl-5 pr-5 "><i
|
<button type="button" class="btn btn-default map-search-button pl-5 pr-5 "><i
|
||||||
class="fa fa-map-marker"></i> {{ trans('theme::fields.search_map') }}
|
class="fa fa-map-marker"></i> {{ trans('theme::fields.search_map') }}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
{% if(app.request.cookies.has('last_search')) %}
|
{% if(app.request.cookies.has('last_search')) %}
|
||||||
<div class="last-search">
|
<div class="last-search">
|
||||||
@ -115,7 +121,7 @@
|
|||||||
<div class="featured-image">
|
<div class="featured-image">
|
||||||
<a href="{{ adv.detail_url }}">
|
<a href="{{ adv.detail_url }}">
|
||||||
{% if adv.is_get_adv == "1" and adv.stock == "0" and entries('advs').isEnabled('carts') %}
|
{% if adv.is_get_adv == "1" and adv.stock == "0" and entries('advs').isEnabled('carts') %}
|
||||||
<div class="corner-ribbon top-right sticky blue">{{ trans('visiosoft.module.advs::field.sold_out.name') }}</div>
|
<div class="corner-ribbon top-right sticky blue">{{ trans('visiosoft.module.advs::field.sold_out.name') }}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<img
|
<img
|
||||||
src="{{ adv.cover_photo }}"
|
src="{{ adv.cover_photo }}"
|
||||||
@ -150,14 +156,17 @@
|
|||||||
<!-- item-info-right -->
|
<!-- item-info-right -->
|
||||||
<div class="user-option pull-right">
|
<div class="user-option pull-right">
|
||||||
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
||||||
<a href="{{ url_route('adv_AddCart',[adv.id]) }}" data-toggle="tooltip" data-placement="top"
|
<a href="{{ url_route('adv_AddCart',[adv.id]) }}"
|
||||||
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ trans('visiosoft.module.advs::field.online_shopping') }}"><i
|
title="{{ trans('visiosoft.module.advs::field.online_shopping') }}"><i
|
||||||
class="fa fa-shopping-cart"></i> </a>
|
class="fa fa-shopping-cart"></i> </a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if setting_value('visiosoft.module.location::home_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
||||||
data-toggle="tooltip" data-placement="top"
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
||||||
class="fa fa-map-marker"></i> </a>
|
class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
</div><!-- item-info-right -->
|
</div><!-- item-info-right -->
|
||||||
</div><!-- ad-meta -->
|
</div><!-- ad-meta -->
|
||||||
</div><!-- featured -->
|
</div><!-- featured -->
|
||||||
@ -243,14 +252,17 @@
|
|||||||
<!-- item-info-right -->
|
<!-- item-info-right -->
|
||||||
<div class="user-option pull-right">
|
<div class="user-option pull-right">
|
||||||
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
||||||
<a href="{{ url_route('adv_AddCart',[adv.id]) }}" data-toggle="tooltip" data-placement="top"
|
<a href="{{ url_route('adv_AddCart',[adv.id]) }}"
|
||||||
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
||||||
class="fa fa-shopping-cart"></i> </a>
|
class="fa fa-shopping-cart"></i> </a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if setting_value('visiosoft.module.location::home_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
||||||
data-toggle="tooltip" data-placement="top"
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
||||||
class="fa fa-map-marker"></i> </a>
|
class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
</div><!-- item-info-right -->
|
</div><!-- item-info-right -->
|
||||||
</div><!-- ad-meta -->
|
</div><!-- ad-meta -->
|
||||||
</div><!-- item-info -->
|
</div><!-- item-info -->
|
||||||
@ -276,7 +288,8 @@
|
|||||||
class="img-respocive"></a>
|
class="img-respocive"></a>
|
||||||
|
|
||||||
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
||||||
<a href="{{ url_route('adv_AddCart',[adv.id]) }}" data-toggle="tooltip" data-placement="top"
|
<a href="{{ url_route('adv_AddCart',[adv.id]) }}"
|
||||||
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="Get ilanı"><i
|
title="Get ilanı"><i
|
||||||
class="fa fa-check-square-o"></i></a>
|
class="fa fa-check-square-o"></i></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -309,14 +322,17 @@
|
|||||||
<!-- item-info-right -->
|
<!-- item-info-right -->
|
||||||
<div class="user-option pull-right">
|
<div class="user-option pull-right">
|
||||||
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
{% if adv.is_get_adv == "1" and adv.stock != "0" and entries('advs').isEnabled('carts') %}
|
||||||
<a href="{{ url_route('adv_AddCart',[adv.id]) }}" data-toggle="tooltip" data-placement="top"
|
<a href="{{ url_route('adv_AddCart',[adv.id]) }}"
|
||||||
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ trans('visiosoft.module.advs::field.online_shopping') }}"><i
|
title="{{ trans('visiosoft.module.advs::field.online_shopping') }}"><i
|
||||||
class="fa fa-shopping-cart"></i> </a>
|
class="fa fa-shopping-cart"></i> </a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if setting_value('visiosoft.module.location::home_page_location') %}
|
||||||
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
<a href="{{ url_route('visiosoft.module.advs::show_ad_map_location',[adv.country_id,adv.city,adv.district]) }}"
|
||||||
data-toggle="tooltip" data-placement="top"
|
data-toggle="tooltip" data-placement="top"
|
||||||
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
title="{{ adv.city_name }}, {{ adv.country_name }}"><i
|
||||||
class="fa fa-map-marker"></i> </a>
|
class="fa fa-map-marker"></i> </a>
|
||||||
|
{% endif %}
|
||||||
</div><!-- item-info-right -->
|
</div><!-- item-info-right -->
|
||||||
</div><!-- ad-meta -->
|
</div><!-- ad-meta -->
|
||||||
</div><!-- item-info -->
|
</div><!-- item-info -->
|
||||||
|
|||||||
@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
use Anomaly\Streams\Platform\Model\Location\LocationCitiesEntryModel;
|
||||||
|
use Anomaly\Streams\Platform\Model\Location\LocationDistrictsEntryModel;
|
||||||
|
use Visiosoft\LocationModule\Country\CountryModel;
|
||||||
|
|
||||||
|
return [
|
||||||
|
'home_page_location' => [
|
||||||
|
'type' => 'anomaly.field_type.boolean',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'list_page_location' => [
|
||||||
|
'type' => 'anomaly.field_type.boolean',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'detail_page_location' => [
|
||||||
|
'type' => 'anomaly.field_type.boolean',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
||||||
Loading…
Reference in New Issue
Block a user