mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
improve approval status icon display
This commit is contained in:
@@ -88,10 +88,7 @@ class Torrent
|
||||
|
||||
public function renderApprovalStatus($status): string
|
||||
{
|
||||
if (Setting::get('torrent.approval_status_icon_enabled') == 'yes') {
|
||||
return sprintf('<span style="margin-left: 6px">%s</span>', \App\Models\Torrent::$approvalStatus[$status]['icon']);
|
||||
}
|
||||
return '';
|
||||
return sprintf('<span style="margin-left: 6px">%s</span>', \App\Models\Torrent::$approvalStatus[$status]['icon']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user