Show number of unassigned QSOs in Maintenance

这个提交包含在:
phl0 2023-10-26 23:30:48 +02:00
父节点 cb5969a090
当前提交 310736d18f
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A
共有 2 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -4112,7 +4112,7 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray =
$this->db->where('station_id =', NULL);
$query = $this->db->get($this->config->item('table_name'));
if($query->num_rows() >= 1) {
return 1;
return $query->num_rows();
} else {
return 0;
}

查看文件

@ -15,7 +15,7 @@
</div>
<?php if($is_there_qsos_with_no_station_id >= 1) { ?>
<div class="alert alert-danger" role="alert" style="margin-bottom: 0px !important;">
<span class="badge badge-pill badge-warning">Warning</span> The Database contains QSOs without a station-profile (location)<br/>
<span class="badge badge-pill badge-warning">Warning</span> The Database contains <?php echo $is_there_qsos_with_no_station_id; ?> QSO<?php echo $is_there_qsos_with_no_station_id > 1 ? 's' : '' ?> without a station-profile (location)<br/>
</div>
<div class="card-body">
<p class="card-text">Please reassign those QSOs to an existing station location:</p>