¨4.0.1¨
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'submitted_for_approval' => 'Your review is submitted for approval.',
|
||||
'submitted_for_approval' => 'Your review is submitted for approval',
|
||||
];
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
return [
|
||||
'review' => 'Review',
|
||||
'reviews' => 'Reviews',
|
||||
'products' => [
|
||||
'reviews' => 'Reviews',
|
||||
],
|
||||
'table' => [
|
||||
'product' => 'Product',
|
||||
'reviewer_name' => 'Reviewer Name',
|
||||
@@ -13,10 +16,7 @@ return [
|
||||
'group' => [
|
||||
'review_information' => 'Review Information',
|
||||
],
|
||||
'general' => 'general',
|
||||
'products' => [
|
||||
'reviews' => 'Reviews',
|
||||
],
|
||||
'general' => 'General',
|
||||
],
|
||||
'form' => [
|
||||
'approve_this_review' => 'Approve this review',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
<script type="module">
|
||||
keypressAction([
|
||||
{ key: 'b', route: "{{ route('admin.products.edit', $productId) }}" },
|
||||
]);
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
@endcomponent
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
<script type="module">
|
||||
Mousetrap.bind('del', function () {
|
||||
$('#product-reviews-table_wrapper .btn-delete').trigger('click');
|
||||
});
|
||||
|
||||
DataTable.setRoutes('#product-reviews-table', {
|
||||
index: {
|
||||
name: 'admin.reviews.index',
|
||||
table: {
|
||||
name: 'admin.reviews.table',
|
||||
params: { productId: '{{ $product->id }}' }
|
||||
},
|
||||
edit: { name: 'admin.reviews.edit' },
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
<script type="module">
|
||||
keypressAction([
|
||||
{ key: 'b', route: "{{ route('admin.reviews.index') }}" },
|
||||
]);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
@endcomponent
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
<script type="module">
|
||||
new DataTable('#reviews-table .table', {
|
||||
columns: [
|
||||
{ data: 'checkbox', orderable: false, searchable: false, width: '3%' },
|
||||
|
||||
Reference in New Issue
Block a user