mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
- Download counts were taking too long to calculate dynamically, so we're keeping track of a total count with observers and queued job. - Optimized the SQL used to order a mod listing by mod version update times.
14 lines
578 B
PHP
14 lines
578 B
PHP
<p {{ $attributes->class(['text-slate-700 dark:text-gray-300 text-sm']) }}>
|
|
<span title="{{ __('Exactly') }} {{ $mod->downloads }}">{{ Number::downloads($mod->downloads) }} downloads</span>
|
|
@if(!is_null($mod->created_at))
|
|
<span>
|
|
— Created
|
|
<time datetime="{{ $mod->created_at->format('c') }}">
|
|
{{ $mod->created_at->diffForHumans() }}
|
|
</time>
|
|
</span>
|
|
@elseif(!is_null($modVersion->updated_at))
|
|
<span>— Updated {{ $modVersion->updated_at->diffForHumans() }}</span>
|
|
@endif
|
|
</p>
|