kopia lustrzana https://github.com/magicbug/Cloudlog
Fix missing span and remove not needed SQL column
rodzic
b048671c5e
commit
d4ad7412f3
|
@ -11,7 +11,7 @@ class Activated_grids_model extends CI_Model {
|
|||
return null;
|
||||
}
|
||||
|
||||
$sql = 'SELECT DISTINCT station_gridsquare AS SAT_SQUARE, COL_SAT_NAME FROM '
|
||||
$sql = 'SELECT DISTINCT station_gridsquare AS SAT_SQUARE FROM '
|
||||
. 'station_profile JOIN '.$this->config->item('table_name').' on '.$this->config->item('table_name').'.station_id = station_profile.station_id '
|
||||
. 'WHERE station_profile.station_gridsquare != "" AND '.$this->config->item('table_name').'.COL_SAT_NAME != ""';
|
||||
|
||||
|
@ -29,7 +29,7 @@ class Activated_grids_model extends CI_Model {
|
|||
|
||||
$location_list = "'".implode("','",$logbooks_locations_array)."'";
|
||||
|
||||
$sql = 'SELECT DISTINCT station_gridsquare AS SAT_SQUARE, COL_SAT_NAME FROM '
|
||||
$sql = 'SELECT DISTINCT station_gridsquare AS SAT_SQUARE FROM '
|
||||
. 'station_profile JOIN '.$this->config->item('table_name').' on '.$this->config->item('table_name').'.station_id = station_profile.station_id '
|
||||
. 'WHERE station_profile.station_gridsquare != "" AND '.$this->config->item('table_name').'.COL_SAT_NAME != "" '
|
||||
. 'AND (COL_LOTW_QSL_SENT = "Y" OR COL_QSL_SENT = "Y");';
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<div class="container">
|
||||
<?php if ($this->uri->segment(2) == "satellites") { ?>
|
||||
<div class="alert alert-success" role="alert">
|
||||
<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
|
||||
<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="activated_grids"></span>|<span id="sum_grids"></span><br>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue