hepsiemlak design

This commit is contained in:
Muammer Top 2021-08-10 18:06:26 +03:00
parent 1577e87438
commit fcf23887a2
5 changed files with 16 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,4 +22,8 @@ class CategoryCriteria extends EntryCriteria
public function getMainCategories() {
return $this->categoryRepository->getMainCategories();
}
public function getMainAndSubCats() {
return $this->categoryRepository->getMainAndSubCats();
}
}

View File

@ -153,10 +153,12 @@ class CategoryRepository extends EntryRepository implements CategoryRepositoryIn
'c1.slug',
'c1.parent_category_id',
'c1.icon',
'c1.count',
't1.name',
'c2.id as c2_id',
'c2.slug as c2_slug',
'c2.icon as c2_icon',
'c2.count as c2_count',
'c2.parent_category_id as c2_parent_category_id',
't2.name as c2_name'
)
@ -182,4 +184,4 @@ class CategoryRepository extends EntryRepository implements CategoryRepositoryIn
$cats->maincats = $catsDB->unique('id');
return $cats;
}
}
}

View File

@ -0,0 +1,3 @@
<a href="{{ url_route('profile::ads') }}" class="d-block text-decoration-none fs-14 text-dark color-5 py-2 hover-2 px-2 rounded font-weight-bold">
{{ trans('visiosoft.theme.hepsiemlak::field.my_ads') }}
</a>

View File

@ -93,8 +93,7 @@
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"symfony/css-selector": "3.1.*",
"symfony/dom-crawler": "3.1.*",
"anomaly/installer-module": "~2.4.0"
"symfony/dom-crawler": "3.1.*"
},
"repositories": [
{
@ -104,6 +103,10 @@
{
"type": "composer",
"url": "https://community.pyrocms.com"
},
{
"type": "composer",
"url": "https://repo.openclassify.com"
}
],
"autoload": {