We should not lie about dupes on the success page ...

这个提交包含在:
phl0 2023-10-16 09:34:29 +02:00
父节点 ab75d5807d
当前提交 23130ee5bd
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A
共有 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>