app show and pre_sale detail page fixed..
This commit is contained in:
parent
faca470caa
commit
6d4400653c
@ -85,7 +85,7 @@
|
|||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
@can('create-modules-item')
|
@can('create-modules-item')
|
||||||
@if ($module->install)
|
@if ($module->install)
|
||||||
<a href="#" class="btn btn-warning btn-block" disabled="disabled">
|
<a href="javascript:void(0)" class="btn btn-warning btn-block" disabled="disabled">
|
||||||
{{ trans('modules.pre_sale') }}
|
{{ trans('modules.pre_sale') }}
|
||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
|
@ -281,10 +281,14 @@
|
|||||||
<td class="col-7 text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
|
<td class="col-7 text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
@if ($module->category)
|
@if ($module->categories)
|
||||||
<tr class="row">
|
<tr class="row">
|
||||||
<th class="col-5">{{ trans_choice('general.categories', 1) }}</th>
|
<th class="col-5">{{ trans_choice('general.categories', (count($module->categories) > 1) ? 2 : 1) }}</th>
|
||||||
<td class="col-7 text-right"><a href="{{ route('apps.categories.show', $module->category->slug) }}">{{ $module->category->name }}</a></td>
|
<td class="col-7 text-right">
|
||||||
|
@foreach ($module->categories as $module_category)
|
||||||
|
<a href="{{ route('apps.categories.show', $module_category->slug) }}">{{ $module_category->name }}</a> </br>
|
||||||
|
@endforeach
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
<tr class="row">
|
<tr class="row">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user