2018-04-03 07:37:41 +08:00
|
|
|
<ul class="list-group">
|
|
|
|
@foreach($files as $file)
|
|
|
|
<li class="list-group-item">
|
|
|
|
<a href="{{route('frontend.downloads.download', [$file->id])}}" target="_blank">
|
|
|
|
{{ $file->name }}
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{{-- only show description is one is provided --}}
|
|
|
|
@if($file->description)
|
|
|
|
- {{$file->description}}
|
|
|
|
@endif
|
2018-05-18 06:03:30 +08:00
|
|
|
<span style="margin-left: 20px">{{ $file->download_count.' '.trans_choice('frontend.global.download', $file->download_count) }}</span>
|
2018-04-03 07:37:41 +08:00
|
|
|
</li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|