mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 23:36:08 -06:00
fixed errors
This commit is contained in:
parent
acfcbc6ee0
commit
c948df1c94
@ -3,14 +3,6 @@
|
|||||||
|
|
||||||
<div class="col left-categories-section mx-0">
|
<div class="col left-categories-section mx-0">
|
||||||
<ul class="categories-list p-0 d-none d-sm-block mb-0">
|
<ul class="categories-list p-0 d-none d-sm-block mb-0">
|
||||||
<li class="categories-list-li category-icon border-bottom-0 mt-0">
|
|
||||||
<img src="{{ img('visiosoft.theme.base::images/store-search.png').url }}" class="img-responsive">
|
|
||||||
<a href="{{ url_route('store::list') }}" class="main-category">
|
|
||||||
<span class="text-dark" class="text-dark">
|
|
||||||
{{ trans('visiosoft.theme.base::field.company_directory') }}
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="categories-list-li category-icon border-bottom-0 mt-0">
|
<li class="categories-list-li category-icon border-bottom-0 mt-0">
|
||||||
<img src="{{ img('visiosoft.theme.base::images/popular-ads.png').url }}" class="img-responsive">
|
<img src="{{ img('visiosoft.theme.base::images/popular-ads.png').url }}" class="img-responsive">
|
||||||
<a href="{{ url_route('visiosoft.module.advs::list') }}?sort_by=popular" class="main-category">
|
<a href="{{ url_route('visiosoft.module.advs::list') }}?sort_by=popular" class="main-category">
|
||||||
@ -27,14 +19,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="categories-list-li category-icon mt-0 pb-3">
|
|
||||||
<img src="{{ img('visiosoft.theme.base::images/get-ads.png').url }}" class="img-responsive">
|
|
||||||
<a href="{{ url_route('visiosoft.module.advs::list') }}?get_ads=true" class="main-category">
|
|
||||||
<span class="text-dark">
|
|
||||||
{{ trans('visiosoft.theme.base::field.secure_e-commerce_ads') }}
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ addBlock('base/leftSidebar')|raw }}
|
{{ addBlock('base/leftSidebar')|raw }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ addBlock('base/categoriesRow')|raw }}
|
{{ addBlock('base/categoriesRow')|raw }}
|
||||||
|
|||||||
@ -4,7 +4,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration;
|
|||||||
|
|
||||||
class VisiosoftModuleProfileCreateBirthdayField extends Migration
|
class VisiosoftModuleProfileCreateBirthdayField extends Migration
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run the migrations.
|
* Run the migrations.
|
||||||
*
|
*
|
||||||
@ -20,8 +19,8 @@ class VisiosoftModuleProfileCreateBirthdayField extends Migration
|
|||||||
->first();
|
->first();
|
||||||
|
|
||||||
if (!$field) {
|
if (!$field) {
|
||||||
$field = $this->fields()->create([
|
$field = $this->fields()->newQuery()->create([
|
||||||
'name' => trans('visiosoft.module.profile::field.birthday.name'),
|
'name' => 'visiosoft.module.profile::field.birthday.name',
|
||||||
'namespace' => 'users',
|
'namespace' => 'users',
|
||||||
'slug' => 'birthday',
|
'slug' => 'birthday',
|
||||||
'type' => 'anomaly.field_type.datetime',
|
'type' => 'anomaly.field_type.datetime',
|
||||||
@ -32,7 +31,7 @@ class VisiosoftModuleProfileCreateBirthdayField extends Migration
|
|||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->assignments()->create([
|
$this->assignments()->newQuery()->create([
|
||||||
'stream_id' => $stream->id,
|
'stream_id' => $stream->id,
|
||||||
'field_id' => $field->id
|
'field_id' => $field->id
|
||||||
]);
|
]);
|
||||||
@ -47,10 +46,5 @@ class VisiosoftModuleProfileCreateBirthdayField extends Migration
|
|||||||
*/
|
*/
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* I never go back on my word!
|
|
||||||
* That's my nindo: my ninja way!
|
|
||||||
* NARUTO
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user