localization fixes

This commit is contained in:
merdan 2020-02-07 21:43:26 +05:00
parent 21ceb746e8
commit 076672538f
2 changed files with 5 additions and 292 deletions

View File

@ -209,128 +209,6 @@
<div class="tab-pane {{($tab == 'general' || !$tab) ? 'active' : ''}}" id="general">
@include('ManageEvent.Partials.EditEventForm', ['event'=>$event, 'organisers'=>organisers()])
</div>
{{-- <div class="tab-pane {{$tab == 'affiliates' ? 'active' : ''}}" id="affiliates">--}}
{{-- <h4>@lang("Affiliates.affiliate_tracking")</h4>--}}
{{-- <div class="well">--}}
{{-- @lang("Affiliates.affiliate_tracking_text")--}}
{{-- <br><br>--}}
{{-- <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>--}}
{{-- @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--}}
{{-- </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 ')) !!}--}}
{{-- <h4>@lang("Social.social_settings")</h4>--}}
{{-- <div class="form-group hide">--}}
{{-- {!! 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>--}}
{{-- </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">--}}
{{-- {!! 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 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")) !!}--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- <div class="panel-footer mt15 text-right">--}}
{{-- {!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}--}}
{{-- </div>--}}
{{-- {!! Form::close() !!}--}}
{{-- </div>--}}
<div class="tab-pane scale_iframe {{$tab == 'design' ? 'active' : ''}}" id="design">
<div class="row">
@ -382,22 +260,6 @@
</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="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>--}}
<div class="tab-pane {{$tab == 'order_page' ? 'active' : ''}}" id="order_page">
{!! Form::model($event, array('url' => route('postEditEventOrderPage', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}
@ -427,22 +289,6 @@
</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">
{!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}
</div>
@ -450,74 +296,6 @@
{!! Form::close() !!}
</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="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() !!}--}}
{{-- </div>--}}
</div>
<!--/ tab content -->
</div>

View File

@ -28,11 +28,6 @@
)) !!}
</div>
</div>
{{--<div class="form-group">--}}
{{--{!! Form::label('currency_id', trans("ManageEvent.default_currency"), array('class'=>'control-label required')) !!}--}}
{{--{!! Form::select('currency_id', $currencies, $event->currency_id, ['class' => 'form-control']) !!}--}}
{{--</div>--}}
<div class="form-group col-md-6">
{!! Form::label('title_ru', trans("Event.event_title_ru"), array('class'=>'control-label required')) !!}
@ -51,7 +46,7 @@
)) !!}
</div>
<div class="form-group col-md-6">
<div class="form-group col-md-6">
{!! Form::label('description_ru', trans("Event.event_description_ru"), array('class'=>'control-label')) !!}
{!! Form::textarea('description_ru', Input::old('description_ru'),
array(
@ -67,7 +62,7 @@
'rows' => 5
)) !!}
</div>
<div class="form-group address-automatic">
<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']) !!}
{{--{!! Form::label('name', trans("Event.venue_name"), array('class'=>'control-label required ')) !!}--}}
@ -97,58 +92,8 @@
{{--<!-- /These are populated with the Google places info-->--}}
</div>
{{--<div class="address-manual" style="display:{{$event->location_is_manual ? 'block' : 'none'}};">--}}
{{--<div class="form-group">--}}
{{--{!! Form::label('location_venue_name', trans("Event.venue_name"), array('class'=>'control-label required ')) !!}--}}
{{--{!! Form::text('location_venue_name', $event->venue_name, [--}}
{{--'class'=>'form-control location_field',--}}
{{--'placeholder'=>trans("Event.venue_name_placeholder") // same as above--}}
{{--]) !!}--}}
{{--</div>--}}
{{--<div class="form-group">--}}
{{--{!! Form::label('location_address_line_1', trans("Event.address_line_1"), array('class'=>'control-label')) !!}--}}
{{--{!! Form::text('location_address_line_1', $event->location_address_line_1, [--}}
{{--'class'=>'form-control location_field',--}}
{{--'placeholder'=>trans("Event.address_line_1_placeholder")//'E.g: 45 Grafton St.'--}}
{{--]) !!}--}}
{{--</div>--}}
{{--<div class="form-group">--}}
{{--{!! Form::label('location_address_line_2', trans("Event.address_line_2"), array('class'=>'control-label')) !!}--}}
{{--{!! Form::text('location_address_line_2', $event->location_address_line_2, [--}}
{{--'class'=>'form-control location_field',--}}
{{--'placeholder'=>trans("Event.address_line_2_placeholder")//'E.g: Dublin.'--}}
{{--]) !!}--}}
{{--</div>--}}
{{--<div class="row">--}}
{{--<div class="col-md-6">--}}
{{--<div class="form-group">--}}
{{--{!! Form::label('location_state', trans("Event.city"), array('class'=>'control-label')) !!}--}}
{{--{!! Form::text('location_state', $event->location_state, [--}}
{{--'class'=>'form-control location_field',--}}
{{--'placeholder'=>trans("Event.city_placeholder")//'E.g: Dublin.'--}}
{{--]) !!}--}}
{{--</div>--}}
{{--</div>--}}
{{--<div class="col-md-6">--}}
{{--<div class="form-group">--}}
{{--{!! Form::label('location_post_code', trans("Event.post_code"), array('class'=>'control-label')) !!}--}}
{{--{!! Form::text('location_post_code', $event->location_post_code, [--}}
{{--'class'=>'form-control location_field',--}}
{{--'placeholder'=>trans("Event.post_code_placeholder")// 'E.g: 94568.'--}}
{{--]) !!}--}}
{{--</div>--}}
{{--</div>--}}
{{--</div>--}}
</div>
{{--<div class="clearfix" style="margin-top:-10px; padding: 5px; padding-top: 0px;">--}}
{{--<span class="pull-right">--}}
{{--@lang("Event.or(manual/existing_venue)") <a data-clear-field=".location_field" data-toggle-class=".address-automatic, .address-manual" data-show-less-text="{{$event->location_is_manual ? trans("Event.enter_manual"):trans("Event.enter_existing")}}" href="javascript:void(0);" class="show-more-options clear_location">{{$event->location_is_manual ? trans("Event.enter_existing"):trans("Event.enter_manual")}}</a>--}}
{{--</span>--}}
{{--</div>--}}
<div class="row">
<div class="col-sm-6">
<div class="form-group">
@ -212,18 +157,7 @@
</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">
@ -232,5 +166,6 @@
{!! Form::submit(trans("Event.save_changes"), ['class'=>"btn btn-success"]) !!}
</div>
</div>
{!! Form::close() !!}
</div>
{!! Form::close() !!}