mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
still rushing bugs
This commit is contained in:
@@ -32,7 +32,7 @@ class Welcome extends CI_Controller {
|
||||
$data['NumberOfNotes'] = $this->note->CountAllNotes();
|
||||
|
||||
|
||||
if($data['CountAllStationLocations'] == 0 || $data['NumberOfStationLogbooks'] == 0 || $data['NumberOfAPIKeys'] == 0 || $data['NumberOfNotes'] > 0) {
|
||||
if($data['CountAllStationLocations'] == 0 || $data['NumberOfStationLogbooks'] == 0 || $data['NumberOfAPIKeys'] > 0 || $data['NumberOfNotes'] > 0) {
|
||||
// load views
|
||||
$this->load->view('interface_assets/mini_header', $data);
|
||||
$this->load->view('welcome/index');
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
<br>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(!$NumberOfAPIKeys) { ?>
|
||||
<?php if($NumberOfNotes > 0) { ?>
|
||||
<div class="card">
|
||||
<div class="card-header">Claim API Keys</div>
|
||||
<div class="card-body">
|
||||
|
||||
Reference in New Issue
Block a user