- fixed an error on finance in admin panel
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L) - added function __trans_choice in helpers.php for translation - fixed error in flight edit/insert panel not showing/inserting Tuesday in days - fixed an error occurring when metar retrieved is empty - edited now-ui-kit.css to align login fields correctly - added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages - added translations file for en and it locales - translated all the frontend templates
This commit is contained in:
committed by
Nabeel Shahzad
parent
77a2fd70c3
commit
ba8a819c7d
@@ -1,15 +1,15 @@
|
||||
@extends('app')
|
||||
@section('title', 'downloads')
|
||||
@section('title', __trans_choice('Download', 2))
|
||||
|
||||
@section('content')
|
||||
@include('flash::message')
|
||||
<div class="row">
|
||||
<div class="row-sm-12">
|
||||
<h2>Downloads</h2>
|
||||
<h2>{{ __trans_choice('Download', 2) }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
@if(!$grouped_files || \count($grouped_files) === 0)
|
||||
<div class="jumbotron text-center">There are no downloads!</div>
|
||||
<div class="jumbotron text-center">{{ __('There are no downloads!') }}</div>
|
||||
@else
|
||||
@foreach($grouped_files as $group => $files)
|
||||
<div class="row" style="margin-bottom: 40px;">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
@if($file->description)
|
||||
- {{$file->description}}
|
||||
@endif
|
||||
<span style="margin-left: 20px">{{$file->download_count}} downloads</span>
|
||||
<span style="margin-left: 20px">{{ $file->download_count.' '.__trans_choice('Download', $file->download_count) }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user