We should not lie about dupes on the success page ...
这个提交包含在:
父节点
ab75d5807d
当前提交
23130ee5bd
共有 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>
|
||||
|
|
|
|||
正在加载…
在新工单中引用