mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
Design and language fixes
This commit is contained in:
parent
a0117ddf6c
commit
54f14a5e65
@ -106,6 +106,7 @@ return [
|
|||||||
'description' => [
|
'description' => [
|
||||||
'name' => 'Description'
|
'name' => 'Description'
|
||||||
],
|
],
|
||||||
|
'explanation' => 'Explanation',
|
||||||
'type' => [
|
'type' => [
|
||||||
'name' => 'Type'
|
'name' => 'Type'
|
||||||
],
|
],
|
||||||
|
|||||||
@ -103,9 +103,8 @@ return [
|
|||||||
'my_adv' => [
|
'my_adv' => [
|
||||||
'name' => 'İlan'
|
'name' => 'İlan'
|
||||||
],
|
],
|
||||||
'description' => [
|
'description' => 'Detaylar',
|
||||||
'name' => 'Açıklama'
|
'explanation' => 'Açıklama',
|
||||||
],
|
|
||||||
'type' => [
|
'type' => [
|
||||||
'name' => 'Tip'
|
'name' => 'Tip'
|
||||||
],
|
],
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<a class="nav-item nav-link active bg-secondary text-white" id="nav-description-tab"
|
<a class="nav-item nav-link active bg-secondary text-white" id="nav-description-tab"
|
||||||
data-toggle="tab" href="#nav-description" role="tab"
|
data-toggle="tab" href="#nav-description" role="tab"
|
||||||
aria-controls="nav-description"
|
aria-controls="nav-description"
|
||||||
aria-selected="true">{{ trans('visiosoft.module.advs::field.description.name') }}</a>
|
aria-selected="true">{{ trans('visiosoft.module.advs::field.description') }}</a>
|
||||||
|
|
||||||
<!-- Content Tab With Block -->
|
<!-- Content Tab With Block -->
|
||||||
{{ addBlock('ad-detail/content-tab',{'features':features})|raw }}
|
{{ addBlock('ad-detail/content-tab',{'features':features})|raw }}
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<div class="tab-pane fade show active" id="nav-description" role="tabpanel"
|
<div class="tab-pane fade show active" id="nav-description" role="tabpanel"
|
||||||
aria-labelledby="nav-description-tab">
|
aria-labelledby="nav-description-tab">
|
||||||
<h4>{{ trans('visiosoft.module.advs::field.description.name') }}</h4>
|
<h4>{{ trans('visiosoft.module.advs::field.description') }}</h4>
|
||||||
<p>{{ adv.advs_desc|raw }}</p>
|
<p>{{ adv.advs_desc|raw }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
{{ trans('visiosoft.module.advs::field.offered_by') }}:
|
{{ trans('visiosoft.module.advs::field.offered_by') }}:
|
||||||
<a id="owner"
|
<a id="owner"
|
||||||
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}"
|
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}"
|
||||||
data-content="{{ adv.owner_id }}">{{ adv.owner }}
|
data-content="{{ adv.owner_id }}"> {{ adv.first_name }} {{ adv.last_name }}
|
||||||
</a>
|
</a>
|
||||||
{{ addBlock('ad-detail/seller/action',{'seller_id':adv.owner_id})|raw }}
|
{{ addBlock('ad-detail/seller/action',{'seller_id':adv.owner_id})|raw }}
|
||||||
</div>
|
</div>
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<div class="col-md-12 m-2">
|
<div class="col-md-12 m-2">
|
||||||
<i class="fa fa-suitcase"></i>
|
<i class="fa fa-suitcase"></i>
|
||||||
<a href="{{ url_route('visiosoft.module.advs::list_user_ad',
|
<a href="{{ url_route('visiosoft.module.advs::list_user_ad',
|
||||||
[adv.created_by_id]) }}">{{ adv.owner }}</a>
|
[adv.created_by_id]) }}"> {{ adv.first_name }} {{ adv.last_name }}</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -292,7 +292,7 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
|||||||
$adv = $this->model
|
$adv = $this->model
|
||||||
->where('advs_advs.id', $id)
|
->where('advs_advs.id', $id)
|
||||||
->leftJoin('users_users as u1', 'advs_advs.created_by_id', '=', 'u1.id')
|
->leftJoin('users_users as u1', 'advs_advs.created_by_id', '=', 'u1.id')
|
||||||
->select('advs_advs.*', 'u1.display_name as owner', 'u1.first_name as firstname', 'u1.last_name as lastname', 'u1.id as owner_id')
|
->select('advs_advs.*','u1.first_name as first_name', 'u1.last_name as last_name', 'u1.id as owner_id')
|
||||||
->inRandomOrder()
|
->inRandomOrder()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'latest_ads' => [
|
'latest_ads' => 'أحدث الإعلانات',
|
||||||
'name' => 'أحدث الإعلانات',
|
|
||||||
],
|
|
||||||
'show_all' => [
|
'show_all' => [
|
||||||
'name' => 'عرض الكل',
|
'name' => 'عرض الكل',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'latest_ads' => [
|
'latest_ads' => 'Latest Ads',
|
||||||
'name' => 'Latest Ads',
|
|
||||||
],
|
|
||||||
'show_all' => [
|
'show_all' => [
|
||||||
'name' => 'Show All',
|
'name' => 'Show All',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'latest_ads' => [
|
'latest_ads' => 'Son Eklenenler',
|
||||||
'name' => 'Son Eklenenler',
|
|
||||||
],
|
|
||||||
'show_all' => [
|
'show_all' => [
|
||||||
'name' => 'Tümünü Göster',
|
'name' => 'Tümünü Göster',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<div class="row p-2">
|
<div class="row p-2">
|
||||||
{% if setting_value('visiosoft.theme.base::latest_and_view_all_btn') %}
|
{% if setting_value('visiosoft.theme.base::latest_and_view_all_btn') %}
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h4 class="p-2">{{ trans('theme::field.latest_ads.name') }}</h4>
|
<h4 class="p-2">{{ trans('theme::field.latest_ads') }}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<a class="btn btn-outline-secondary"
|
<a class="btn btn-outline-secondary"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user