mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Added message when logbook is not defined.
This commit is contained in:
parent
a28eb44ac4
commit
126c551007
@ -50,6 +50,10 @@ class Logbook extends CI_Controller {
|
||||
//load the model and get results
|
||||
$data['results'] = $this->logbook_model->get_qsos($config['per_page'],$this->uri->segment(3));
|
||||
|
||||
if(!$data['results']) {
|
||||
$this->session->set_flashdata('notice', $this->lang->line('error_no_logbook_found'));
|
||||
}
|
||||
|
||||
// Calculate Lat/Lng from Locator to use on Maps
|
||||
if($this->session->userdata('user_locator')) {
|
||||
$this->load->library('qra');
|
||||
|
@ -118,3 +118,5 @@ $lang['dashboard_countries_breakdown'] = 'Countries Breakdown';
|
||||
$lang['gen_from_date'] = 'From date';
|
||||
|
||||
$lang['gen_this_qso_was_confirmed_on'] = 'This QSO was confirmed on';
|
||||
|
||||
$lang['error_no_logbook_found'] = 'No logbook\'s were found. You need to define a logbook under Station Logbooks!';
|
Loading…
Reference in New Issue
Block a user