From c5473c40ff4262fa1ef73c4e1bed051cd54b3316 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 11:19:32 +0500 Subject: [PATCH 01/27] close admin registration --- config/backpack/base.php | 10 +++++----- .../ViewEvent/Partials/EventTicketsSection.blade.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/backpack/base.php b/config/backpack/base.php index 230f34e1..dcabb582 100644 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -19,13 +19,13 @@ return [ 'logo_mini' => 'Btm', // Developer or company name. Shown in footer. - 'developer_name' => 'Merdan Muhammedow', + 'developer_name' => 'Digital TPS', // Developer website. Link in footer. - 'developer_link' => 'http://tmchat.ru', + 'developer_link' => 'http://tpsadvertising.com', // Show powered by Laravel Backpack in the footer? - 'show_powered_by' => true, + 'show_powered_by' => false, // The AdminLTE skin. Affects menu color and primary/secondary colors used throughout the application. 'skin' => 'skin-purple', @@ -57,7 +57,7 @@ return [ | By default the registration is open only on localhost. */ - 'registration_open' => env('BACKPACK_REGISTRATION_OPEN', true), + 'registration_open' => env('BACKPACK_REGISTRATION_OPEN', false), /* |-------------------------------------------------------------------------- @@ -121,7 +121,7 @@ return [ // Other options: // - placehold (generic image with his first letter) // - example_method_name (specify the method on the User model that returns the URL) - 'avatar_type' => 'gravatar', + 'avatar_type' => 'placehold', /* |-------------------------------------------------------------------------- diff --git a/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php b/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php index 86eb4269..960f43a2 100644 --- a/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php +++ b/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php @@ -44,7 +44,7 @@ {{money($ticket->total_price, $event->currency)}} {{ ($event->organiser->tax_name && $event->organiser->tax_value) ? '(+'.money(($ticket->total_price*($event->organiser->tax_value)/100), $event->currency).' '.$event->organiser->tax_name.')' : '' }} + content="{{ $event->currency->code ?? 'manat'}}"> @endif From d116c1b9616e4bf2979c69c005e2537ee91b24f1 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 12:33:48 +0500 Subject: [PATCH 02/27] event place map --- .../Bilettm/ViewEvent/EventPage.blade.php | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/resources/views/Bilettm/ViewEvent/EventPage.blade.php b/resources/views/Bilettm/ViewEvent/EventPage.blade.php index 9196f546..0deb48cc 100644 --- a/resources/views/Bilettm/ViewEvent/EventPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/EventPage.blade.php @@ -56,13 +56,25 @@
-
- +
+
-@endsection \ No newline at end of file +@endsection + +@section('after_scripts') + + +@endsection From 89e2614e5b1bcf4d73ad8d1b5c0b087e29a29cc4 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 12:38:13 +0500 Subject: [PATCH 03/27] view bug --- resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php b/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php index 80ca0b7c..eab96af3 100644 --- a/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php +++ b/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php @@ -41,7 +41,7 @@ @endforeach - {!!Form::submit('{{__("ClientSide.buy_ticket")', ['class' => 'btn btn-lg btn-danger'])!!} + {!!Form::submit(trans('ClientSide.buy_ticket'), ['class' => 'btn btn-lg btn-danger'])!!} {!! Form::close() !!} @@ -77,4 +77,4 @@ }); -@endpush \ No newline at end of file +@endpush From 191a30c02379cd876f14161ccc9efbece6f9a5ff Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 12:43:02 +0500 Subject: [PATCH 04/27] view map bug --- resources/views/Bilettm/ViewEvent/EventPage.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/Bilettm/ViewEvent/EventPage.blade.php b/resources/views/Bilettm/ViewEvent/EventPage.blade.php index 0deb48cc..e50c03b7 100644 --- a/resources/views/Bilettm/ViewEvent/EventPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/EventPage.blade.php @@ -57,7 +57,7 @@
-
+
@@ -69,7 +69,7 @@ From a99cf4277bed8d35aac534cd385c7cb76afeb9cc Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 12:53:35 +0500 Subject: [PATCH 06/27] view map bug --- resources/views/Bilettm/ViewEvent/EventPage.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/Bilettm/ViewEvent/EventPage.blade.php b/resources/views/Bilettm/ViewEvent/EventPage.blade.php index 62453826..d5cda2e2 100644 --- a/resources/views/Bilettm/ViewEvent/EventPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/EventPage.blade.php @@ -71,7 +71,7 @@ function initMap() { map = new google.maps.Map(document.getElementById('map'), { center: {lat: {{$event->venue->address['latlng']['lat']}}, lng: {{$event->venue->address['latlng']['lng']}}}, - zoom: 12 + zoom: 8 }); } From 16f515f375937f1d3ee7c0970cec308ee513ab49 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 12:55:53 +0500 Subject: [PATCH 07/27] view map bug --- resources/views/Bilettm/ViewEvent/EventPage.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/Bilettm/ViewEvent/EventPage.blade.php b/resources/views/Bilettm/ViewEvent/EventPage.blade.php index d5cda2e2..9e1a0caf 100644 --- a/resources/views/Bilettm/ViewEvent/EventPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/EventPage.blade.php @@ -71,7 +71,7 @@ function initMap() { map = new google.maps.Map(document.getElementById('map'), { center: {lat: {{$event->venue->address['latlng']['lat']}}, lng: {{$event->venue->address['latlng']['lng']}}}, - zoom: 8 + zoom: 10 }); } From 1f7770a8d740fffc9bba1a4ae919fbaf325a064b Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 12:56:38 +0500 Subject: [PATCH 08/27] view map bug --- resources/views/Bilettm/ViewEvent/EventPage.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/Bilettm/ViewEvent/EventPage.blade.php b/resources/views/Bilettm/ViewEvent/EventPage.blade.php index 9e1a0caf..117e1135 100644 --- a/resources/views/Bilettm/ViewEvent/EventPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/EventPage.blade.php @@ -71,7 +71,7 @@ function initMap() { map = new google.maps.Map(document.getElementById('map'), { center: {lat: {{$event->venue->address['latlng']['lat']}}, lng: {{$event->venue->address['latlng']['lng']}}}, - zoom: 10 + zoom: 15 }); } From 3528c2d01231615783c97a01f14d98ccf30cab05 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 13:01:26 +0500 Subject: [PATCH 09/27] view map add marker --- resources/views/Bilettm/ViewEvent/EventPage.blade.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/views/Bilettm/ViewEvent/EventPage.blade.php b/resources/views/Bilettm/ViewEvent/EventPage.blade.php index 117e1135..62594883 100644 --- a/resources/views/Bilettm/ViewEvent/EventPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/EventPage.blade.php @@ -67,12 +67,13 @@ @section('after_scripts') @include("Shared.Partials.LangScript") {!!HTML::script(config('attendize.cdn_url_static_assets').'/assets/javascript/frontend.js')!!} -@endsection \ No newline at end of file +@endsection From 304179fc695cdea27d1971486f5e894ecb499f17 Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 6 Dec 2019 17:18:39 +0500 Subject: [PATCH 14/27] remove reklama --- .../Bilettm/Partials/PublicHeader.blade.php | 14 ++++---- .../views/Bilettm/Public/HomePage.blade.php | 36 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/resources/views/Bilettm/Partials/PublicHeader.blade.php b/resources/views/Bilettm/Partials/PublicHeader.blade.php index 7cb844ea..2c997a85 100644 --- a/resources/views/Bilettm/Partials/PublicHeader.blade.php +++ b/resources/views/Bilettm/Partials/PublicHeader.blade.php @@ -1,12 +1,12 @@
-
-
-
- -
-
-
+{{--
--}} +{{--
--}} +{{--
--}} +{{-- --}} +{{--
--}} +{{--
--}} +{{--
--}}
diff --git a/resources/views/Bilettm/Public/HomePage.blade.php b/resources/views/Bilettm/Public/HomePage.blade.php index da8f2c97..bba2584b 100644 --- a/resources/views/Bilettm/Public/HomePage.blade.php +++ b/resources/views/Bilettm/Public/HomePage.blade.php @@ -13,28 +13,28 @@ @include('Bilettm.Partials.HomeMusical') -
-
-
- - - -
-
-
+{{--
--}} +{{--
--}} +{{--
--}} +{{-- --}} +{{-- --}} +{{-- --}} +{{--
--}} +{{--
--}} +{{--
--}} @if(isset($theatre)) @include('Bilettm.Partials.HomeTheatre') @endif -
-
-
- - - -
-
-
+{{--
--}} +{{--
--}} +{{--
--}} +{{-- --}} +{{-- --}} +{{-- --}} +{{--
--}} +{{--
--}} +{{--
--}} @endsection @section('after_scripts') From 10a1c8bffd785cab8f5affcc196ba3ed08a6ad58 Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 6 Dec 2019 17:34:07 +0500 Subject: [PATCH 15/27] slider top --- resources/views/Bilettm/Partials/HomeSlider.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/Bilettm/Partials/HomeSlider.blade.php b/resources/views/Bilettm/Partials/HomeSlider.blade.php index 36479b48..f2ba90d9 100644 --- a/resources/views/Bilettm/Partials/HomeSlider.blade.php +++ b/resources/views/Bilettm/Partials/HomeSlider.blade.php @@ -1,7 +1,7 @@ \ No newline at end of file + From 2b84a2b86b24e765a015c3af0369daa5e6ab9e5f Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 6 Dec 2019 17:43:13 +0500 Subject: [PATCH 16/27] slider top --- resources/views/Bilettm/Partials/HomeSlider.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/Bilettm/Partials/HomeSlider.blade.php b/resources/views/Bilettm/Partials/HomeSlider.blade.php index f2ba90d9..3b37fccd 100644 --- a/resources/views/Bilettm/Partials/HomeSlider.blade.php +++ b/resources/views/Bilettm/Partials/HomeSlider.blade.php @@ -17,7 +17,7 @@ data-description="">
+ style="position:absolute; top: 0; background-position: center center; background-size: cover; background-image: url({{asset($slider->image)}}); transform: unset !important;">
From 6e5d7ba99be106cf933eb021aa646dd1e7288c47 Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 6 Dec 2019 17:48:59 +0500 Subject: [PATCH 17/27] slider top fix --- resources/views/Bilettm/Partials/HomeSlider.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/Bilettm/Partials/HomeSlider.blade.php b/resources/views/Bilettm/Partials/HomeSlider.blade.php index 3b37fccd..dd1b625f 100644 --- a/resources/views/Bilettm/Partials/HomeSlider.blade.php +++ b/resources/views/Bilettm/Partials/HomeSlider.blade.php @@ -17,7 +17,7 @@ data-description="">
+ style="position:absolute; top: 0; background-position: center center; background-size: cover; bottom: -100px; background-image: url({{asset($slider->image)}}); transform: unset !important;">
From cecf9899e6f68a5ba9bacd66aad868e0cbc0314e Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 9 Dec 2019 16:31:30 +0500 Subject: [PATCH 18/27] attendees --- .../Bilettm/ViewEvent/Partials/Schedule.blade.php | 11 +++++------ resources/views/ManageEvent/Attendees.blade.php | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php b/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php index eab96af3..fcfed562 100644 --- a/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php +++ b/resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php @@ -1,14 +1,13 @@ -

Расписание

-
-@if($event->end_date->isPast()) +@if(count($ticket_dates) > 0) +

Расписание

+
+ @if($event->end_date->isPast())

@lang("Public_ViewEvent.event_already", ['started' => trans('Public_ViewEvent.event_already_ended')])

-@else - @if(count($ticket_dates) > 0) - + @else

Дата проведения