Merge pull request #2570 from phl0/showDupeImport

We should not lie about dupes on the success page ...
这个提交包含在:
Andreas Kristiansen 2023-10-16 09:47:26 +02:00 提交者 GitHub
当前提交 f8a28c9d42
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 8 次插入1 次删除

查看文件

@ -211,6 +211,7 @@ class adif extends CI_Controller {
}
$data['adif_errors'] = $custom_errors;
$data['skip_dupes'] = $this->input->post('skipDuplicate');
$data['page_title'] = "ADIF Imported";

查看文件

@ -13,7 +13,13 @@
</div>
<div class="card-body">
<h3 class="card-title">Yay, its imported!</h3>
<p class="card-text">The ADIF File has been imported, and any dupes skipped.</p>
<p class="card-text">The ADIF File has been imported.
<?php if(isset($skip_dupes)) {
echo ' <b>Dupes were inserted!</b>';
} else {
echo ' Dupes were skipped.';
} ?>
</p>
<?php if($adif_errors) { ?>
<h3>ADIF Errors</h3>
<p>You have ADIF errors, the QSOs have still been added but these fields have not been populated.</p>