Skip to content

Commit d41e524

Browse files
authored
2.6.13
2 parents 9ff7e81 + 2e6b9d2 commit d41e524

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2163
-1767
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ sync.sh
2222
*.swp
2323
.env
2424
/node_modules
25+
/.vs

application/config/migration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
|
2323
*/
2424

25-
$config['migration_version'] = 182;
25+
$config['migration_version'] = 184;
2626

2727
/*
2828
|--------------------------------------------------------------------------

application/controllers/Dashboard.php

+18
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,24 @@ public function index()
188188
}
189189
}
190190

191+
public function logbook_display_component() {
192+
$this->load->model('user_model');
193+
194+
if ($this->user_model->validate_session() == 0) {
195+
// User is not logged in
196+
} else {
197+
$this->load->model('logbook_model');
198+
$this->load->model('logbooks_model');
199+
}
200+
201+
// Get Logbook Locations
202+
$logbooks_locations_array = $this->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
203+
204+
// Get the last 20 QSOs
205+
$data['last_five_qsos'] = $this->logbook_model->get_last_qsos('20', $logbooks_locations_array);
206+
$this->load->view('components/dashboard_logbook_table', $data);
207+
}
208+
191209
function radio_display_component()
192210
{
193211
$this->load->model('cat');

0 commit comments

Comments
 (0)