mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#887 ad status message
This commit is contained in:
parent
30019550cb
commit
a513b8201e
@ -25,4 +25,5 @@ return [
|
||||
'filter_by_search_msg' => 'Filter By Search.',
|
||||
'delete_author_error' => 'You cannot delete a post that does not belong to you',
|
||||
'success_delete' => 'Ad Deleted',
|
||||
'pending_ad_status' => 'Your ad is pending approval by the Editor.',
|
||||
];
|
||||
|
||||
@ -25,4 +25,5 @@ return [
|
||||
'filter_by_search_msg' => 'Aramanızı Daraltın.',
|
||||
'delete_author_error' => 'Size ait olmayan bir ilanı silemezsiniz',
|
||||
'success_delete' => 'İlan Silindi',
|
||||
'pending_ad_status' => 'İlanınız Editör tarafından onay beklemektedir.',
|
||||
];
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
{% include "visiosoft.module.advs::ad-detail/partials/breadcrumb" %}
|
||||
<!-- breadcrumb -->
|
||||
{% endif %}
|
||||
{% include "visiosoft.module.advs::ad-detail/partials/ad-status" %}
|
||||
<h2 class="title">
|
||||
{{ adv.title }}
|
||||
{{ addBlock('ad-detail/title/action',{'adv_id':adv.id})|raw }}
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
{% if adv.status == "pending_user" or adv.status == "pending_admin" %}
|
||||
<div class="alert bg-info text-white alert-dismissible">
|
||||
<i class="fas fa-exclamation-triangle"></i>
|
||||
{{ trans('visiosoft.module.advs::message.pending_ad_status') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
@ -20,7 +20,7 @@ class AdvTableBuilder extends TableBuilder
|
||||
|
||||
public function onQuerying(Builder $query)
|
||||
{
|
||||
$query->where('slug', "!=", NULL);
|
||||
$query->where('slug', "!=", "");
|
||||
}
|
||||
|
||||
protected $views = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user