Fix russian language for creating ticket
This commit is contained in:
6
resources/views/themes/default1/admin/helpdesk/manage/sla/index.blade.php
Normal file → Executable file
6
resources/views/themes/default1/admin/helpdesk/manage/sla/index.blade.php
Normal file → Executable file
@@ -113,14 +113,14 @@ class="nav-link active"
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['sla.destroy', $sla->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('sla.edit',$sla->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i> Edit</a>
|
||||
<a href="{{route('sla.edit',$sla->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i> {!! Lang::get('lang.edit') !!}</a>
|
||||
<!-- To pop up a confirm Message -->
|
||||
@if($sla->id == $default_sla)
|
||||
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
|
||||
{!! Form::button('<i class="fas fa-trash"> </i> '.Lang::get('lang.delete'),
|
||||
['class'=> 'btn btn-danger btn-xs '.$disable])
|
||||
!!}
|
||||
@else
|
||||
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
|
||||
{!! Form::button('<i class="fas fa-trash"> </i> '.Lang::get('lang.delete'),
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-danger btn-xs',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
|
2
resources/views/themes/default1/agent/helpdesk/report/index.blade.php
Normal file → Executable file
2
resources/views/themes/default1/agent/helpdesk/report/index.blade.php
Normal file → Executable file
@@ -226,7 +226,7 @@ class="active"
|
||||
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Tabular</h3>
|
||||
<h3 class="card-title">{!! Lang::get('lang.tabular') !!}</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table table-bordered" id="tabular">
|
||||
|
14
resources/views/themes/default1/agent/helpdesk/ticket/timeline.blade.php
Normal file → Executable file
14
resources/views/themes/default1/agent/helpdesk/ticket/timeline.blade.php
Normal file → Executable file
@@ -186,7 +186,7 @@ if ($thread->title != "") {
|
||||
{!! Lang::get('lang.more') !!} <span class="caret"></span>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<a href="#" data-toggle="modal" data-target="#ChangeOwner" class="dropdown-item"><i class="fas fa-users" style="color:green;"> </i> Change Owner</a>
|
||||
<a href="#" data-toggle="modal" data-target="#ChangeOwner" class="dropdown-item"><i class="fas fa-users" style="color:green;"> </i>{!! Lang::get('lang.change_owner_for_ticket') !!}</a>
|
||||
@if($tickets->status != 3 && $tickets->status != 2)
|
||||
<a href="#" class="dropdown-item" data-toggle="modal" data-target="#MergeTickets"><i class="fas fa-cogs" style="color:teal;"> </i> {!! Lang::get('lang.merge-ticket') !!}</a>
|
||||
@endif
|
||||
@@ -566,22 +566,22 @@ if ($thread->title != "") {
|
||||
|
||||
<div>
|
||||
<?php if ($conversation->is_internal) { ?>
|
||||
<i class="fas fa-tag bg-purple" title="Posted by System"></i>
|
||||
<i class="fas fa-tag bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php
|
||||
} else {
|
||||
if($conversation->user_id != null) {
|
||||
if ($role->role == 'agent' || $role->role == 'admin') {
|
||||
?>
|
||||
<i class="fas fa-reply-all bg-yellow" title="Posted by Support Team"></i>
|
||||
<i class="fas fa-reply-all bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
|
||||
<?php } elseif ($role->role == 'user') { ?>
|
||||
<i class="fas fa-user bg-aqua" title="Posted by Customer"></i>
|
||||
<i class="fas fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
|
||||
<?php } else { ?>
|
||||
<i class="fas fa-reply-all bg-purple" title="Posted by System"></i>
|
||||
<i class="fas fa-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
<i class="fas fa-tag bg-purple" title="Posted by System"></i>
|
||||
<i class="fas fa-tag bg-purple" title="<?= Lang::get('lang.posted_by_system')?>"></i>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
@@ -667,7 +667,7 @@ if ($thread->title != "") {
|
||||
@endif
|
||||
|
||||
@if($conversation->id == $ij->id)
|
||||
<a href="{{url('genereate-pdf/'.$conversation->id)}}" class= "float-right" title="generate pdf of this thread">
|
||||
<a href="{{url('genereate-pdf/'.$conversation->id)}}" class= "float-right" title="{!! Lang::get('lang.generate_pdf_thread') !!}">
|
||||
<i class="fas fa-newspaper"></i>
|
||||
</a>
|
||||
@endif
|
||||
|
2
resources/views/themes/default1/agent/layout/agent.blade.php
Normal file → Executable file
2
resources/views/themes/default1/agent/layout/agent.blade.php
Normal file → Executable file
@@ -158,7 +158,7 @@
|
||||
|
||||
@if($auth_user_role == 'admin')
|
||||
<li class="nav-item d-none d-sm-inline-block">
|
||||
<a href="{{URL::route('report.index')}}" onclick="clickReport(event);" @yield('Report') class="nav-link">Report</a>
|
||||
<a href="{{URL::route('report.index')}}" onclick="clickReport(event);" @yield('Report') class="nav-link">{!! Lang::get('lang.report') !!}</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
|
2
resources/views/themes/default1/agent/layout/agentold.blade.php
Normal file → Executable file
2
resources/views/themes/default1/agent/layout/agentold.blade.php
Normal file → Executable file
@@ -103,7 +103,7 @@
|
||||
<li @yield('Tickets')><a data-target="#tabC" href="#">{!! Lang::get('lang.tickets') !!}</a></li>
|
||||
<li @yield('Tools')><a data-target="#tabD" href="#">{!! Lang::get('lang.tools') !!}</a></li>
|
||||
@if(Auth::user()->role == 'admin')
|
||||
<li @yield('Report')><a href="{{URL::route('report.index')}}" onclick="clickReport(event);">Report</a></li>
|
||||
<li @yield('Report')><a href="{{URL::route('report.index')}}" onclick="clickReport(event);">{!! Lang::get('lang.report') !!}</a></li>
|
||||
@endif
|
||||
<?php \Event::fire('calendar.topbar', array()); ?>
|
||||
</ul>
|
||||
|
2
resources/views/themes/default1/client/helpdesk/form.blade.php
Normal file → Executable file
2
resources/views/themes/default1/client/helpdesk/form.blade.php
Normal file → Executable file
@@ -210,7 +210,7 @@ class = "nav-item active"
|
||||
<div class="col-md-12 form-group">
|
||||
<label>{!! Lang::get('lang.attachment') !!}</label>
|
||||
<input type="file" name="attachment[]" multiple/><br/>
|
||||
{!! Lang::get('lang.max') !!}. 10MB
|
||||
{!! Lang::get('lang.max') !!}. {!! $max_size_in_actual !!}
|
||||
</div>
|
||||
{{-- Event fire --}}
|
||||
<?php Event::fire(new App\Events\ClientTicketForm()); ?>
|
||||
|
6
resources/views/themes/default1/client/helpdesk/guest-user/checkticket.blade.php
Normal file → Executable file
6
resources/views/themes/default1/client/helpdesk/guest-user/checkticket.blade.php
Normal file → Executable file
@@ -327,11 +327,11 @@ class="active"
|
||||
</li>
|
||||
<li>
|
||||
<?php if($conversation->staff_id > 0) { ?>
|
||||
<i class="fa fa-group bg-yellow" title="Posted by Support Team"></i>
|
||||
<i class="fa fa-group bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
|
||||
<?php } elseif($conversation->user_id > 0) { ?>
|
||||
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
|
||||
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
|
||||
<?php } else { ?>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php } ?>
|
||||
<div class="timeline-item">
|
||||
<span id="date" class="time"><i class="fa fa-clock-o"> </i> {{date_format($conversation->created_at, 'd/m/Y H:i:s')}}</span>
|
||||
|
6
resources/views/themes/default1/client/helpdesk/guest-user/checkticket2.blade.php
Normal file → Executable file
6
resources/views/themes/default1/client/helpdesk/guest-user/checkticket2.blade.php
Normal file → Executable file
@@ -327,11 +327,11 @@ class="active"
|
||||
</li>
|
||||
<li>
|
||||
<?php if($conversation->staff_id > 0) { ?>
|
||||
<i class="fa fa-group bg-yellow" title="Posted by Support Team"></i>
|
||||
<i class="fa fa-group bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
|
||||
<?php } elseif($conversation->user_id > 0) { ?>
|
||||
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
|
||||
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
|
||||
<?php } else { ?>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php } ?>
|
||||
<div class="timeline-item">
|
||||
<span id="date" class="time"><i class="fa fa-clock-o"> </i> {{date_format($conversation->created_at, 'd/m/Y H:i:s')}}</span>
|
||||
|
8
resources/views/themes/default1/client/helpdesk/guest-user/view_ticket.blade.php
Normal file → Executable file
8
resources/views/themes/default1/client/helpdesk/guest-user/view_ticket.blade.php
Normal file → Executable file
@@ -418,13 +418,13 @@ $data = $ConvDate[0];
|
||||
</li>
|
||||
<li>
|
||||
<?php if($conversation->is_internal) { ?>
|
||||
<i class="fa fa-tag bg-purple" title="Posted by System"></i>
|
||||
<i class="fa fa-tag bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php }else{ if ($role->role == 'agent' || $role->role == 'admin') { ?>
|
||||
<i class="fa fa-mail-reply-all bg-yellow" title="Posted by Support Team"></i>
|
||||
<i class="fa fa-mail-reply-all bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
|
||||
<?php } elseif ($role->role == 'user') { ?>
|
||||
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
|
||||
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
|
||||
<?php } else { ?>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php } }
|
||||
$attachment = App\Model\Ticket\Ticket_attachments::where('thread_id','=',$conversation->id)->first();
|
||||
if($attachment == null ) {
|
||||
|
6
resources/views/themes/default1/client/helpdesk/ticket.blade.php
Normal file → Executable file
6
resources/views/themes/default1/client/helpdesk/ticket.blade.php
Normal file → Executable file
@@ -379,11 +379,11 @@ $data = $ConvDate[0];
|
||||
<?php if($conversation->is_internal) { ?>
|
||||
<i class="fa fa-tag bg-purple" title="Posted by System"></i>
|
||||
<?php }else{ if ($role->role == 'agent' || $role->role == 'admin') { ?>
|
||||
<i class="fa fa-mail-reply-all bg-yellow" title="Posted by Support Team"></i>
|
||||
<i class="fa fa-mail-reply-all bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
|
||||
<?php } elseif ($role->role == 'user') { ?>
|
||||
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
|
||||
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
|
||||
<?php } else { ?>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
|
||||
<?php } }
|
||||
$attachment = App\Model\Ticket\Ticket_attachments::where('thread_id','=',$conversation->id)->first();
|
||||
if($attachment == null ) {
|
||||
|
Reference in New Issue
Block a user