admin add downloadpos manage

This commit is contained in:
xiaomlove
2022-07-23 23:35:43 +08:00
parent 50965e1419
commit f9bcb4d969
20 changed files with 328 additions and 224 deletions

View File

@@ -55,6 +55,8 @@ return [
'grant_medal_duration_label' => 'Duration',
'grant_medal_duration_help' => 'Unit: days. If left blank, the user has permanent possession',
'confirm_btn' => 'Confirm',
'disable_download_privileges_btn' => 'Enable download',
'enable_download_privileges_btn' => 'Disable download',
]
],
'exam_user' => [

View File

@@ -74,6 +74,7 @@ return [
'invite_by' => 'Inviter',
'two_step_authentication' => 'Two-step authentication',
'seed_points' => 'Seed points',
'downloadpos' => 'Download privileges',
],
'medal' => [
'label' => 'Medal',

View File

@@ -10,4 +10,13 @@ return [
],
'field_value_change_message_body' => ':field is changed from :old to :new by :operator. Reason:reason.',
'field_value_change_message_subject' => ':field changed',
'download_disable' => [
'subject' => 'Download permission cancellation',
'body' => 'Administrator: :operator has revoked your download privileges, possibly due to low sharing rates or misbehavior.',
],
'download_enable' => [
'subject' => 'Download permission restored',
'body' => 'Administrator: :operator restored your download privileges, you can now download torrents.',
],
];

View File

@@ -55,6 +55,8 @@ return [
'grant_medal_duration_label' => '有效时长',
'grant_medal_duration_help' => '单位:天。如果留空,用户永久拥有',
'confirm_btn' => '确认',
'disable_download_privileges_btn' => '禁用下载权限',
'enable_download_privileges_btn' => '启用下载权限',
]
],
'exam_user' => [

View File

@@ -84,6 +84,7 @@ return [
'invite_by' => '邀请人',
'two_step_authentication' => '两步验证',
'seed_points' => '做种积分',
'downloadpos' => '下载权限',
],
'medal' => [
'label' => '勋章',

View File

@@ -10,4 +10,13 @@ return [
],
'field_value_change_message_body' => ':field 被管理员 :operator 从 :old 改为 :new。理由:reason。',
'field_value_change_message_subject' => ':field 改变',
'download_disable' => [
'subject' => '下载权限取消',
'body' => '管理员::operator 取消了你的下载权限,可能的原因是过低的分享率或行为不当。',
],
'download_enable' => [
'subject' => '下载权限恢复',
'body' => '管理员::operator 恢复了你的下载权限,你现在可以下载种子。',
],
];

View File

@@ -55,6 +55,8 @@ return [
'grant_medal_duration_label' => '有效時長',
'grant_medal_duration_help' => '單位:天。如果留空,用戶永久擁有',
'confirm_btn' => '確認',
'disable_download_privileges_btn' => '禁用下載權限',
'enable_download_privileges_btn' => '啟用下載權限',
]
],
'exam_user' => [

View File

@@ -74,6 +74,7 @@ return [
'invite_by' => '邀請人',
'two_step_authentication' => '兩步驗證',
'seed_points' => '做種積分',
'downloadpos' => '下載權限',
],
'medal' => [
'label' => '勛章',

View File

@@ -10,4 +10,12 @@ return [
],
'field_value_change_message_body' => ':field 被管理員 :operator 從 :old 改為 :new。理由:reason。',
'field_value_change_message_subject' => ':field 改變',
'download_disable' => [
'subject' => '下載權限取消',
'body' => '管理員::operator 取消了你的下載權限,可能的原因是過低的分享率或行為不當。',
],
'download_enable' => [
'subject' => '下載權限恢復',
'body' => '管理員::operator 恢復了你的下載權限,你現在可以下載種子。',
],
];

View File

@@ -52,6 +52,11 @@
<td>{{$record->two_step_secret ? 'Enabled' : 'Disabled'}}</td>
<td></td>
</tr>
<tr>
<th>{{__('label.user.downloadpos')}}</th>
<td>{{$record->downloadpos}}</td>
<td></td>
</tr>
<tr>
<th>{{__('label.user.seed_points')}}</th>
<td>{{$record->seed_points}}</td>