exam fixed after assign

This commit is contained in:
xiaomlove
2023-11-14 02:13:21 +08:00
parent c28fd3b086
commit 4907b2f7ac
15 changed files with 153 additions and 11 deletions

View File

@@ -89,7 +89,9 @@ return [
],
'exam_user' => [
'bulk_action_avoid_label' => 'Bulk avoid',
'bulk_action_update_end_label' => 'Bulk modify end time',
'action_avoid' => 'Avoid',
'action_update_end' => 'Modify end time',
'result_passed' => 'Passed!',
'result_not_passed' => 'Not passed!',
],

View File

@@ -11,4 +11,5 @@ return [
\App\Models\ExamUser::STATUS_AVOIDED => 'Avoided',
\App\Models\ExamUser::STATUS_NORMAL => 'Normal',
],
'end_can_not_before_begin' => "End time: :end can't be before begin time: :begin",
];

View File

@@ -43,4 +43,8 @@ BODY,
'subject' => 'Successful torrent purchase reminder',
'body' => 'You spent :bonus bonus to successfully buy the torrent:[url=:url]:torrent_name[/url]',
],
'exam_user_end_time_updated' => [
'subject' => 'Exam :exam_name end time changed',
'body' => 'The end time of your in-progress exam :exam_name has changed from :old_end_time to :new_end_time. admin: :operator, reason: :reason.',
],
];

View File

@@ -87,7 +87,9 @@ return [
],
'exam_user' => [
'bulk_action_avoid_label' => '批量免除',
'bulk_action_update_end_label' => '批量修改结束时间',
'action_avoid' => '免除',
'action_update_end' => '修改结束时间',
'result_passed' => '通过!',
'result_not_passed' => '未通过!',
],

View File

@@ -11,4 +11,5 @@ return [
\App\Models\ExamUser::STATUS_AVOIDED => '已免除',
\App\Models\ExamUser::STATUS_NORMAL => '考核中',
],
'end_can_not_before_begin' => '结束时间::end 不能在开始时间::begin 之前',
];

View File

@@ -43,4 +43,8 @@ BODY,
'subject' => '成功购买种子提醒',
'body' => '你花费 :bonus 魔力成功购买了种子:[url=:url]:torrent_name[/url]',
],
'exam_user_end_time_updated' => [
'subject' => '考核 :exam_name 结束时间变更',
'body' => '你进行中的考核::exam_name 的结束时间由 :old_end_time 变更为 :new_end_time。管理员:operator原因:reason。',
],
];

View File

@@ -89,7 +89,9 @@ return [
],
'exam_user' => [
'bulk_action_avoid_label' => '批量免除',
'bulk_action_update_end_label' => '批量修改結束時間',
'action_avoid' => '免除',
'action_update_end' => '修改結束時間',
'result_passed' => '通過!',
'result_not_passed' => '未通過!',
],

View File

@@ -11,4 +11,5 @@ return [
\App\Models\ExamUser::STATUS_AVOIDED => '已免除',
\App\Models\ExamUser::STATUS_NORMAL => '考核中',
],
'end_can_not_before_begin' => '結束時間::end 不能在開始時間::begin 之前',
];

View File

@@ -42,4 +42,8 @@ BODY,
'subject' => '成功購買種子提醒',
'body' => '你花費 :bonus 魔力成功購買了種子:[url=:url]:torrent_name[/url]',
],
'exam_user_end_time_updated' => [
'subject' => '考核 :exam_name 結束時間變更',
'body' => '你進行中的考核::exam_name 的結束時間由 :old_end_time 變更為 :new_end_time。管理員:operator原因:reason。',
],
];