localization turkmen on event

This commit is contained in:
merdan 2020-02-07 19:25:00 +05:00
parent 3a55331765
commit b1970ec679
6 changed files with 249 additions and 237 deletions

View File

@ -52,7 +52,9 @@ class EventController extends MyBaseController
}
$event->title = $request->get('title');
$event->title_tk = $request->get('title_tk');
$event->description = strip_tags($request->get('description'));
$event->description_tk = strip_tags($request->get('description_tk'));
$event->start_date = $request->get('start_date');
$event->category_id = $request->get('category_id');
$event->sub_category_id = $request->get('sub_category_id');
@ -180,7 +182,7 @@ class EventController extends MyBaseController
$img = Image::make($file_full_path);
$img->resize(800, null, function ($constraint) {
$img->resize(406, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
});
@ -227,7 +229,9 @@ class EventController extends MyBaseController
$event->is_live = $request->get('is_live');
// $event->currency_id = $request->get('currency_id');
$event->title = $request->get('title');
$event->title_tk = $request->get('title_tk');
$event->description = strip_tags($request->get('description'));
$event->description_tk = strip_tags($request->get('description_tk'));
$event->start_date = $request->get('start_date');
$event->category_id = $request->get('category_id');
$event->sub_category_id = $request->get('sub_category_id');
@ -254,7 +258,7 @@ class EventController extends MyBaseController
$img = Image::make($file_full_path);
$img->resize(800, null, function ($constraint) {
$img->resize(406, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
});
@ -296,7 +300,7 @@ class EventController extends MyBaseController
$img = Image::make($the_file);
$img->resize(1000, null, function ($constraint) {
$img->resize(406, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
});

View File

@ -7,17 +7,6 @@ Route::group(
'prefix' => LaravelLocalization::setLocale(),
'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ]
], function() {
/*
* Include our API routes file
*/
Route::group(['prefix' => 'api'], function () {
Route::get('category/{parent_id?}','API\PublicController@getCategories');
Route::get('cat_events/{cat_id}','API\PublicController@showCategoryEvents');
Route::get('sub_cat_events/{cat_id}','API\PublicController@showSubCategoryEvents');
Route::get('event/{id}','API\PublicController@getEvent');
});
/*
* -------------------------

View File

@ -6,6 +6,6 @@
* Time: 11:09 PM
*/
return array (
'category_title' => 'title_ru',
'event_category' => 'Event Category'
);
'event_category' => 'Category title',
'event_sub_category'=> 'Sub category title'
);

View File

@ -1,6 +1,6 @@
<?php
/*************************************************************************
Generated via "php artisan localization:missing" at 2018/04/26 10:54:45
Generated via "php artisan localization:missing" at 2018/04/26 10:54:45
*************************************************************************/
return array (
@ -17,13 +17,16 @@ return array (
'delete?' => 'Delete?',
'enter_existing' => 'Select From Existing Venues',
'enter_manual' => 'Enter Address Manually',
'event_description' => 'Event Description',
'event_description' => 'Event Description ru',
'event_description_tk' => 'Event Description tk',
'event_end_date' => 'Event End Date',
'event_flyer' => 'Event Flyer',
'event_image' => 'Event Image (Flyer or Graphic etc.)',
'event_orders' => 'Event Orders',
'event_start_date' => 'Event Start Date',
'event_title' => 'Event Title',
'event_title' => 'Event Title ru',
'event_title_tk' => 'Event Title tk',
'event_title_placeholder' => 'E.g: :name\'s Interational Conference',
'event_visibility' => 'Event Visibility',
'go_live' => 'Event Successfully Made Live! You can undo this action in event settings page.',
@ -44,4 +47,4 @@ return array (
'venue_name_placeholder' => 'E.g: The Crab Shack',
'vis_hide' => 'Hide event from the public.',
'vis_public' => 'Make event visible to the public.',
);
);

View File

@ -192,15 +192,15 @@
<li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'order_page'])}}"
class="{{$tab == 'order_page' ? 'active' : ''}}"><a href="#order_page" data-toggle="tab">@lang("basic.order_form")</a></li>
<li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'social'])}}"
class="{{$tab == 'social' ? 'active' : ''}}"><a href="#social" data-toggle="tab">@lang("basic.social")</a></li>
<li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'affiliates'])}}"
class="{{$tab == 'affiliates' ? 'active' : ''}}"><a href="#affiliates"
data-toggle="tab">@lang("basic.affiliates")</a></li>
{{-- <li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'social'])}}"--}}
{{-- class="{{$tab == 'social' ? 'active' : ''}}"><a href="#social" data-toggle="tab">@lang("basic.social")</a></li>--}}
{{-- <li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'affiliates'])}}"--}}
{{-- class="{{$tab == 'affiliates' ? 'active' : ''}}"><a href="#affiliates"--}}
{{-- data-toggle="tab">@lang("basic.affiliates")</a></li>--}}
<li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'fees'])}}"
class="{{$tab == 'fees' ? 'active' : ''}}"><a href="#fees" data-toggle="tab">@lang("basic.service_fees")</a></li>
<li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'ticket_design'])}}"
class="{{$tab == 'ticket_design' ? 'active' : ''}}"><a href="#ticket_design" data-toggle="tab">@lang("basic.ticket_design")</a></li>
{{-- <li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'ticket_design'])}}"--}}
{{-- class="{{$tab == 'ticket_design' ? 'active' : ''}}"><a href="#ticket_design" data-toggle="tab">@lang("basic.ticket_design")</a></li>--}}
</ul>
<!--/ tab -->
@ -210,127 +210,127 @@
@include('ManageEvent.Partials.EditEventForm', ['event'=>$event, 'organisers'=>organisers()])
</div>
<div class="tab-pane {{$tab == 'affiliates' ? 'active' : ''}}" id="affiliates">
{{-- <div class="tab-pane {{$tab == 'affiliates' ? 'active' : ''}}" id="affiliates">--}}
<h4>@lang("Affiliates.affiliate_tracking")</h4>
{{-- <h4>@lang("Affiliates.affiliate_tracking")</h4>--}}
<div class="well">
@lang("Affiliates.affiliate_tracking_text")
{{-- <div class="well">--}}
{{-- @lang("Affiliates.affiliate_tracking_text")--}}
<br><br>
{{-- <br><br>--}}
<input type="text" id="affiliateGenerator" name="affiliateGenerator" class="form-control"/>
{{-- <input type="text" id="affiliateGenerator" name="affiliateGenerator" class="form-control"/>--}}
<div style="display:none; margin-top:10px; " id="referralUrl">
<input onclick="this.select();" type="text" name="affiliateLink" class="form-control"/>
</div>
</div>
{{-- <div style="display:none; margin-top:10px; " id="referralUrl">--}}
{{-- <input onclick="this.select();" type="text" name="affiliateLink" class="form-control"/>--}}
{{-- </div>--}}
{{-- </div>--}}
@if($event->affiliates->count())
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>@lang("Affiliates.affiliate_name")</th>
<th>@lang("Affiliates.visits_generated")</th>
<th>@lang("Affiliates.ticket_sales_generated")</th>
<th>@lang("Affiliates.sales_volume_generated")</th>
<th>@lang("Affiliates.last_referral")</th>
</tr>
</thead>
{{-- @if($event->affiliates->count())--}}
{{-- <div class="table-responsive">--}}
{{-- <table class="table">--}}
{{-- <thead>--}}
{{-- <tr>--}}
{{-- <th>@lang("Affiliates.affiliate_name")</th>--}}
{{-- <th>@lang("Affiliates.visits_generated")</th>--}}
{{-- <th>@lang("Affiliates.ticket_sales_generated")</th>--}}
{{-- <th>@lang("Affiliates.sales_volume_generated")</th>--}}
{{-- <th>@lang("Affiliates.last_referral")</th>--}}
{{-- </tr>--}}
{{-- </thead>--}}
<tbody>
@foreach($event->affiliates as $affiliate)
<tr>
<td>{{ $affiliate->name }}</td>
<td>{{ $affiliate->visits }}</td>
<td>{{ $affiliate->tickets_sold }}</td>
<td>{{ money($affiliate->sales_volume, $event->currency) }}</td>
<td>{{ $affiliate->updated_at->format(env("DEFAULT_DATETIME_FORMAT")) }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@else
<div class="alert alert-info">
@lang("Affiliates.no_affiliate_referrals_yet")
</div>
@endif
{{-- <tbody>--}}
{{-- @foreach($event->affiliates as $affiliate)--}}
{{-- <tr>--}}
{{-- <td>{{ $affiliate->name }}</td>--}}
{{-- <td>{{ $affiliate->visits }}</td>--}}
{{-- <td>{{ $affiliate->tickets_sold }}</td>--}}
{{-- <td>{{ money($affiliate->sales_volume, $event->currency) }}</td>--}}
{{-- <td>{{ $affiliate->updated_at->format(env("DEFAULT_DATETIME_FORMAT")) }}</td>--}}
{{-- </tr>--}}
{{-- @endforeach--}}
{{-- </tbody>--}}
{{-- </table>--}}
{{-- </div>--}}
{{-- @else--}}
{{-- <div class="alert alert-info">--}}
{{-- @lang("Affiliates.no_affiliate_referrals_yet")--}}
{{-- </div>--}}
{{-- @endif--}}
</div>
<div class="tab-pane {{$tab == 'social' ? 'active' : ''}}" id="social">
<div class="well hide"> <?php /*Seems like unfinished feature -> not translating*/ ?>
<h5>The following short codes are available for use:</h5>
Display the event's public URL: <code>[event_url]</code><br>
Display the organiser's name: <code>[organiser_name]</code><br>
Display the event title: <code>[event_title]</code><br>
Display the event description: <code>[event_description]</code><br>
Display the event start date & time: <code>[event_start_date]</code><br>
Display the event end date & time: <code>[event_end_date]</code>
</div>
{{-- </div>--}}
{{-- <div class="tab-pane {{$tab == 'social' ? 'active' : ''}}" id="social">--}}
{{-- <div class="well hide"> <?php /*Seems like unfinished feature -> not translating*/ ?>--}}
{{-- <h5>The following short codes are available for use:</h5>--}}
{{-- Display the event's public URL: <code>[event_url]</code><br>--}}
{{-- Display the organiser's name: <code>[organiser_name]</code><br>--}}
{{-- Display the event title: <code>[event_title]</code><br>--}}
{{-- Display the event description: <code>[event_description]</code><br>--}}
{{-- Display the event start date & time: <code>[event_start_date]</code><br>--}}
{{-- Display the event end date & time: <code>[event_end_date]</code>--}}
{{-- </div>--}}
{!! Form::model($event, array('url' => route('postEditEventSocial', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}
{{-- {!! Form::model($event, array('url' => route('postEditEventSocial', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}--}}
<h4>@lang("Social.social_settings")</h4>
{{-- <h4>@lang("Social.social_settings")</h4>--}}
<div class="form-group hide">
{{-- <div class="form-group hide">--}}
{!! Form::label('social_share_text', trans("Social.social_share_text"), array('class'=>'control-label ')) !!}
{{-- {!! Form::label('social_share_text', trans("Social.social_share_text"), array('class'=>'control-label ')) !!}--}}
{!! Form::textarea('social_share_text', $event->social_share_text, [
'class' => 'form-control',
'rows' => 4
]) !!}
<div class="help-block">
@lang("Social.social_share_text_help")
</div>
{{-- {!! Form::textarea('social_share_text', $event->social_share_text, [--}}
{{-- 'class' => 'form-control',--}}
{{-- 'rows' => 4--}}
{{-- ]) !!}--}}
{{-- <div class="help-block">--}}
{{-- @lang("Social.social_share_text_help")--}}
{{-- </div>--}}
</div>
<div class="form-group">
<label class="control-label">@lang("Social.share_buttons_to_show")</label>
<br>
{{-- </div>--}}
{{-- <div class="form-group">--}}
{{-- <label class="control-label">@lang("Social.share_buttons_to_show")</label>--}}
{{-- <br>--}}
<div class="custom-checkbox mb5">
{!! Form::checkbox('social_show_facebook', 1, $event->social_show_facebook, ['id' => 'social_show_facebook', 'data-toggle' => 'toggle']) !!}
{!! Form::label('social_show_facebook', trans("Social.facebook")) !!}
</div>
<div class="custom-checkbox mb5">
{{-- <div class="custom-checkbox mb5">--}}
{{-- {!! Form::checkbox('social_show_facebook', 1, $event->social_show_facebook, ['id' => 'social_show_facebook', 'data-toggle' => 'toggle']) !!}--}}
{{-- {!! Form::label('social_show_facebook', trans("Social.facebook")) !!}--}}
{{-- </div>--}}
{{-- <div class="custom-checkbox mb5">--}}
{!! Form::checkbox('social_show_twitter', 1, $event->social_show_twitter, ['id' => 'social_show_twitter', 'data-toggle' => 'toggle']) !!}
{!! Form::label('social_show_twitter', trans("Social.twitter")) !!}
{{-- {!! Form::checkbox('social_show_twitter', 1, $event->social_show_twitter, ['id' => 'social_show_twitter', 'data-toggle' => 'toggle']) !!}--}}
{{-- {!! Form::label('social_show_twitter', trans("Social.twitter")) !!}--}}
</div>
{{-- </div>--}}
<div class="custom-checkbox mb5">
{!! Form::checkbox('social_show_email', 1, $event->social_show_email, ['id' => 'social_show_email', 'data-toggle' => 'toggle']) !!}
{!! Form::label('social_show_email', trans("Social.email")) !!}
</div>
<div class="custom-checkbox mb5">
{!! Form::checkbox('social_show_googleplus', 1, $event->social_show_googleplus, ['id' => 'social_show_googleplus', 'data-toggle' => 'toggle']) !!}
{!! Form::label('social_show_googleplus', trans("Social.g+")) !!}
</div>
<div class="custom-checkbox mb5">
{!! Form::checkbox('social_show_linkedin', 1, $event->social_show_linkedin, ['id' => 'social_show_linkedin', 'data-toggle' => 'toggle']) !!}
{!! Form::label('social_show_linkedin', trans("Social.linkedin")) !!}
</div>
<div class="custom-checkbox">
{{-- <div class="custom-checkbox mb5">--}}
{{-- {!! Form::checkbox('social_show_email', 1, $event->social_show_email, ['id' => 'social_show_email', 'data-toggle' => 'toggle']) !!}--}}
{{-- {!! Form::label('social_show_email', trans("Social.email")) !!}--}}
{{-- </div>--}}
{{-- <div class="custom-checkbox mb5">--}}
{{-- {!! Form::checkbox('social_show_googleplus', 1, $event->social_show_googleplus, ['id' => 'social_show_googleplus', 'data-toggle' => 'toggle']) !!}--}}
{{-- {!! Form::label('social_show_googleplus', trans("Social.g+")) !!}--}}
{{-- </div>--}}
{{-- <div class="custom-checkbox mb5">--}}
{{-- {!! Form::checkbox('social_show_linkedin', 1, $event->social_show_linkedin, ['id' => 'social_show_linkedin', 'data-toggle' => 'toggle']) !!}--}}
{{-- {!! Form::label('social_show_linkedin', trans("Social.linkedin")) !!}--}}
{{-- </div>--}}
{{-- <div class="custom-checkbox">--}}
{!! Form::checkbox('social_show_whatsapp', 1, $event->social_show_whatsapp, ['id' => 'social_show_whatsapp', 'data-toggle' => 'toggle']) !!}
{!! Form::label('social_show_whatsapp', trans("Social.whatsapp")) !!}
{{-- {!! Form::checkbox('social_show_whatsapp', 1, $event->social_show_whatsapp, ['id' => 'social_show_whatsapp', 'data-toggle' => 'toggle']) !!}--}}
{{-- {!! Form::label('social_show_whatsapp', trans("Social.whatsapp")) !!}--}}
</div>
</div>
{{-- </div>--}}
{{-- </div>--}}
<div class="panel-footer mt15 text-right">
{!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}
</div>
{{-- <div class="panel-footer mt15 text-right">--}}
{{-- {!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}--}}
{{-- </div>--}}
{!! Form::close() !!}
{{-- {!! Form::close() !!}--}}
</div>
{{-- </div>--}}
<div class="tab-pane scale_iframe {{$tab == 'design' ? 'active' : ''}}" id="design">
<div class="row">
@ -357,7 +357,7 @@
{!! @trans("Fees.organiser_fees_text") !!}
</div>
<div class="form-group">
<div class="form-group col-md-6 col-sm-12">
{!! Form::label('organiser_fee_percentage', trans("Fees.service_fee_percentage"), array('class'=>'control-label required')) !!}
{!! Form::text('organiser_fee_percentage', $event->organiser_fee_percentage, [
'class' => 'form-control',
@ -367,7 +367,7 @@
{!! @trans("Fees.service_fee_percentage_help") !!}
</div>
</div>
<div class="form-group">
<div class="form-group col-md-6 col-sm-12">
{!! Form::label('organiser_fee_fixed', trans("Fees.service_fee_fixed_price"), array('class'=>'control-label required')) !!}
{!! Form::text('organiser_fee_fixed', null, [
'class' => 'form-control',
@ -382,22 +382,22 @@
</div>
{!! Form::close() !!}
</div>
<div class="tab-pane" id="social"> <?php /* Seems like another unused section (duplicate id 'social') */ ?>
<h4>Social Settings</h4>
{{-- <div class="tab-pane" id="social"> <?php /* Seems like another unused section (duplicate id 'social') */ ?>--}}
{{-- <h4>Social Settings</h4>--}}
<div class="form-group">
<div class="checkbox custom-checkbox">
{!! Form::label('event_page_show_map', 'Show map on event page?', array('id' => 'customcheckbox', 'class'=>'control-label')) !!}
{!! Form::checkbox('event_page_show_map', 1, false) !!}
</div>
</div>
{{-- <div class="form-group">--}}
{{-- <div class="checkbox custom-checkbox">--}}
{{-- {!! Form::label('event_page_show_map', 'Show map on event page?', array('id' => 'customcheckbox', 'class'=>'control-label')) !!}--}}
{{-- {!! Form::checkbox('event_page_show_map', 1, false) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
<div class="form-group">
{!! Form::label('event_page_show_social_share', 'Show social share buttons?', array('class'=>'control-label')) !!}
{!! Form::checkbox('event_page_show_social_share', 1, false) !!}
</div>
{{-- <div class="form-group">--}}
{{-- {!! Form::label('event_page_show_social_share', 'Show social share buttons?', array('class'=>'control-label')) !!}--}}
{{-- {!! Form::checkbox('event_page_show_social_share', 1, false) !!}--}}
{{-- </div>--}}
</div>
{{-- </div>--}}
<div class="tab-pane {{$tab == 'order_page' ? 'active' : ''}}" id="order_page">
{!! Form::model($event, array('url' => route('postEditEventOrderPage', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}
@ -428,19 +428,19 @@
</div>
<h4>@lang("Order.offline_payment_settings")</h4>
<div class="form-group">
<div class="custom-checkbox">
<input {{ $event->enable_offline_payments ? 'checked="checked"' : '' }} data-toggle="toggle" id="enable_offline_payments" name="enable_offline_payments" type="checkbox" value="1">
<label for="enable_offline_payments">@lang("Order.enable_offline_payments")</label>
</div>
</div>
<div class="offline_payment_details" style="display: none;">
{!! Form::textarea('offline_payment_instructions', $event->offline_payment_instructions, ['class' => 'form-control editable']) !!}
<div class="help-block">
@lang("Order.offline_payment_instructions")
</div>
</div>
{{-- <h4>@lang("Order.offline_payment_settings")</h4>--}}
{{-- <div class="form-group">--}}
{{-- <div class="custom-checkbox">--}}
{{-- <input {{ $event->enable_offline_payments ? 'checked="checked"' : '' }} data-toggle="toggle" id="enable_offline_payments" name="enable_offline_payments" type="checkbox" value="1">--}}
{{-- <label for="enable_offline_payments">@lang("Order.enable_offline_payments")</label>--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="offline_payment_details" style="display: none;">--}}
{{-- {!! Form::textarea('offline_payment_instructions', $event->offline_payment_instructions, ['class' => 'form-control editable']) !!}--}}
{{-- <div class="help-block">--}}
{{-- @lang("Order.offline_payment_instructions")--}}
{{-- </div>--}}
{{-- </div>--}}
<div class="panel-footer mt15 text-right">
@ -452,71 +452,71 @@
</div>
<div class="tab-pane {{$tab == 'ticket_design' ? 'active' : ''}}" id="ticket_design">
{!! Form::model($event, array('url' => route('postEditEventTicketDesign', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}
<h4>@lang("Ticket.ticket_design")</h4>
<div class="row">
<div class="col-md-6">
<div class="form-group">
{!! Form::label('ticket_border_color', trans("Ticket.ticket_border_color"), ['class'=>'control-label required ']) !!}
{!! Form::input('text', 'ticket_border_color', Input::old('ticket_border_color'),
[
'class'=>'form-control colorpicker',
'placeholder'=>'#000000'
]) !!}
</div>
</div>
<div class="col-md-6">
<div class="form-group">
{!! Form::label('ticket_bg_color', trans("Ticket.ticket_background_color"), ['class'=>'control-label required ']) !!}
{!! Form::input('text', 'ticket_bg_color', Input::old('ticket_bg_color'),
[
'class'=>'form-control colorpicker',
'placeholder'=>'#FFFFFF'
]) !!}
</div>
</div>
<div class="col-md-6">
<div class="form-group">
{!! Form::label('ticket_text_color', trans("Ticket.ticket_text_color"), ['class'=>'control-label required ']) !!}
{!! Form::input('text', 'ticket_text_color', Input::old('ticket_text_color'),
[
'class'=>'form-control colorpicker',
'placeholder'=>'#000000'
]) !!}
</div>
</div>
<div class="col-md-6">
<div class="form-group">
{!! Form::label('ticket_sub_text_color', trans("Ticket.ticket_sub_text_color"), ['class'=>'control-label required ']) !!}
{!! Form::input('text', 'ticket_sub_text_color', Input::old('ticket_border_color'),
[
'class'=>'form-control colorpicker',
'placeholder'=>'#000000'
]) !!}
</div>
</div>
<div class="col-md-12">
<div class="form-group">
{!! Form::label('is_1d_barcode_enabled', trans("Ticket.show_1d_barcode"), ['class' => 'control-label required']) !!}
{!! Form::select('is_1d_barcode_enabled', [1 => trans("basic.yes"), 0 => trans("basic.no")], $event->is_1d_barcode_enabled, ['class'=>'form-control']) !!}
</div>
</div>
</div>
<div class="row">
{{-- <div class="tab-pane {{$tab == 'ticket_design' ? 'active' : ''}}" id="ticket_design">--}}
{{-- {!! Form::model($event, array('url' => route('postEditEventTicketDesign', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}--}}
{{-- <h4>@lang("Ticket.ticket_design")</h4>--}}
{{-- <div class="row">--}}
{{-- <div class="col-md-6">--}}
{{-- <div class="form-group">--}}
{{-- {!! Form::label('ticket_border_color', trans("Ticket.ticket_border_color"), ['class'=>'control-label required ']) !!}--}}
{{-- {!! Form::input('text', 'ticket_border_color', Input::old('ticket_border_color'),--}}
{{-- [--}}
{{-- 'class'=>'form-control colorpicker',--}}
{{-- 'placeholder'=>'#000000'--}}
{{-- ]) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="col-md-6">--}}
{{-- <div class="form-group">--}}
{{-- {!! Form::label('ticket_bg_color', trans("Ticket.ticket_background_color"), ['class'=>'control-label required ']) !!}--}}
{{-- {!! Form::input('text', 'ticket_bg_color', Input::old('ticket_bg_color'),--}}
{{-- [--}}
{{-- 'class'=>'form-control colorpicker',--}}
{{-- 'placeholder'=>'#FFFFFF'--}}
{{-- ]) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="col-md-6">--}}
{{-- <div class="form-group">--}}
{{-- {!! Form::label('ticket_text_color', trans("Ticket.ticket_text_color"), ['class'=>'control-label required ']) !!}--}}
{{-- {!! Form::input('text', 'ticket_text_color', Input::old('ticket_text_color'),--}}
{{-- [--}}
{{-- 'class'=>'form-control colorpicker',--}}
{{-- 'placeholder'=>'#000000'--}}
{{-- ]) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="col-md-6">--}}
{{-- <div class="form-group">--}}
{{-- {!! Form::label('ticket_sub_text_color', trans("Ticket.ticket_sub_text_color"), ['class'=>'control-label required ']) !!}--}}
{{-- {!! Form::input('text', 'ticket_sub_text_color', Input::old('ticket_border_color'),--}}
{{-- [--}}
{{-- 'class'=>'form-control colorpicker',--}}
{{-- 'placeholder'=>'#000000'--}}
{{-- ]) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="col-md-12">--}}
{{-- <div class="form-group">--}}
{{-- {!! Form::label('is_1d_barcode_enabled', trans("Ticket.show_1d_barcode"), ['class' => 'control-label required']) !!}--}}
{{-- {!! Form::select('is_1d_barcode_enabled', [1 => trans("basic.yes"), 0 => trans("basic.no")], $event->is_1d_barcode_enabled, ['class'=>'form-control']) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="row">--}}
<div class="col-md-12">
<h4>@lang("Ticket.ticket_preview")</h4>
@include('ManageEvent.Partials.TicketDesignPreview')
</div>
</div>
<div class="panel-footer mt15 text-right">
{!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}
</div>
{{-- <div class="col-md-12">--}}
{{-- <h4>@lang("Ticket.ticket_preview")</h4>--}}
{{-- @include('ManageEvent.Partials.TicketDesignPreview')--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="panel-footer mt15 text-right">--}}
{{-- {!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}--}}
{{-- </div>--}}
{!! Form::close() !!}
{{-- {!! Form::close() !!}--}}
</div>
{{-- </div>--}}
</div>
<!--/ tab content -->

View File

@ -33,16 +33,25 @@
{{--{!! Form::select('currency_id', $currencies, $event->currency_id, ['class' => 'form-control']) !!}--}}
{{--</div>--}}
<div class="form-group col-md-12">
{!! Form::label('title', trans("Event.event_title"), array('class'=>'control-label required')) !!}
{!! Form::text('title', Input::old('title'),
array(
'class'=>'form-control',
'placeholder'=>trans("Event.event_title_placeholder", ["name"=>Auth::user()->first_name])
)) !!}
</div>
<div class="form-group col-md-12">
<div class="form-group col-md-6">
{!! Form::label('title', trans("Event.event_title"), array('class'=>'control-label required')) !!}
{!! Form::text('title', Input::old('title'),
array(
'class'=>'form-control',
'placeholder'=>trans("Event.event_title_placeholder", ["name"=>Auth::user()->first_name])
)) !!}
</div>
<div class="form-group col-md-6">
{!! Form::label('title_tk', trans("Event.event_title_tk"), array('class'=>'control-label required')) !!}
{!! Form::text('title_tk', Input::old('title_tk'),
array(
'class'=>'form-control',
'placeholder'=>trans("Event.event_title_placeholder", ["name"=>Auth::user()->first_name])
)) !!}
</div>
<div class="form-group col-md-6">
{!! Form::label('description', trans("Event.event_description"), array('class'=>'control-label')) !!}
{!! Form::textarea('description', Input::old('description'),
array(
@ -50,7 +59,14 @@
'rows' => 5
)) !!}
</div>
<div class="form-group col-md-6">
{!! Form::label('description_tk', trans("Event.event_description_tk"), array('class'=>'control-label')) !!}
{!! Form::textarea('description_tk', Input::old('description_tk'),
array(
'class'=>'form-control editable',
'rows' => 5
)) !!}
</div>
<div class="form-group address-automatic">
{!! Form::label('venue_name', trans("Event.venue_name"), array('class'=>'control-label required ')) !!}
{!! Form::select('venue_id',venues_list(), Input::old('venue_id'), ['class' => 'form-control','id'=>'venue_name']) !!}
@ -196,18 +212,18 @@
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
{!! Form::label('google_tag_manager_code', trans("Organiser.google_tag_manager_code"), ['class'=>'control-label']) !!}
{!! Form::text('google_tag_manager_code', Input::old('google_tag_manager_code'), [
'class'=>'form-control',
'placeholder' => trans("Organiser.google_tag_manager_code_placeholder"),
])
!!}
</div>
</div>
</div>
{{-- <div class="row">--}}
{{-- <div class="col-md-6">--}}
{{-- <div class="form-group">--}}
{{-- {!! Form::label('google_tag_manager_code', trans("Organiser.google_tag_manager_code"), ['class'=>'control-label']) !!}--}}
{{-- {!! Form::text('google_tag_manager_code', Input::old('google_tag_manager_code'), [--}}
{{-- 'class'=>'form-control',--}}
{{-- 'placeholder' => trans("Organiser.google_tag_manager_code_placeholder"),--}}
{{-- ])--}}
{{-- !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- </div>--}}
</div>
<div class="col-md-12">
@ -217,4 +233,4 @@
</div>
</div>
{!! Form::close() !!}
</div>
</div>