mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
finish seed box basic
This commit is contained in:
@@ -17,7 +17,7 @@ return [
|
||||
'torrent_state' => 'Free leach',
|
||||
'roles_list' => 'Roles',
|
||||
'ability_list' => 'Permissions',
|
||||
'seedbox_records' => 'SeedBox',
|
||||
'seed_box_records' => 'SeedBox',
|
||||
],
|
||||
'resources' => [
|
||||
'agent_allow' => [
|
||||
@@ -76,5 +76,8 @@ return [
|
||||
'bulk_action_attach_tag' => 'Attach tag',
|
||||
'action_approval' => 'Approval',
|
||||
],
|
||||
'seed_box_record' => [
|
||||
'toggle_status' => 'Change status',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
@@ -172,7 +172,7 @@ return [
|
||||
'role' => [
|
||||
'class' => 'Relate user class',
|
||||
],
|
||||
'seedbox_record' => [
|
||||
'seed_box_record' => [
|
||||
'label' => 'SeedBox Records',
|
||||
'type' => 'Add type',
|
||||
'operator' => 'Operator',
|
||||
@@ -181,5 +181,6 @@ return [
|
||||
'ip_begin' => 'Begin IP',
|
||||
'ip_end' => 'End IP',
|
||||
'ip_help' => 'Begin IP/End IP, IP(Block) Choose one',
|
||||
'status' => 'Status',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'type_text' => [
|
||||
\App\Models\SeedBoxRecord::TYPE_USER => 'User',
|
||||
\App\Models\SeedBoxRecord::TYPE_ADMIN => 'Administrator',
|
||||
],
|
||||
'status_text' => [
|
||||
\App\Models\SeedBoxRecord::STATUS_UNAUDITED => 'Unaudited',
|
||||
\App\Models\SeedBoxRecord::STATUS_ALLOWED => 'Allowed',
|
||||
\App\Models\SeedBoxRecord::STATUS_DENIED => 'Denied',
|
||||
],
|
||||
'status_change_message' => [
|
||||
'subject' => 'SeedBox record status changed',
|
||||
'body' => 'The status of your SeedBox record with ID :id was changed by :operator from :old_status to :new_status',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user