Fixes issue with create button not showing

pull/931/head
Peter Goodhall 2021-03-09 16:50:06 +00:00 zatwierdzone przez GitHub
rodzic 4eb641f76e
commit 3733fca792
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -19,6 +19,8 @@
<p class="card-text">Similar to logbooks, a station profile keeps a set of QSOs together.</p> <p class="card-text">Similar to logbooks, a station profile keeps a set of QSOs together.</p>
<p class="card-text">Only one logbook may be active at a time. In the table below this is shown with the "Active Logbook" badge.</p> <p class="card-text">Only one logbook may be active at a time. In the table below this is shown with the "Active Logbook" badge.</p>
<p><a href="<?php echo site_url('station/create'); ?>" class="btn btn-primary"><i class="fas fa-plus"></i> Create a Station Profile</a></p>
<?php if ($stations->num_rows() > 0) { ?> <?php if ($stations->num_rows() > 0) { ?>
<?php if($current_active == 0) { ?> <?php if($current_active == 0) { ?>
@ -34,8 +36,7 @@
Create a station profile, if you haven't already, then <a href="<?php echo site_url('station/assign_all/'); ?>" class="btn btn-danger" onclick="return confirm('Assign All QSOs to Default Station ID"><i class="fas fa-trash-alt"></i> press this button to assign all QSOs to the first Station Profile.</a> Create a station profile, if you haven't already, then <a href="<?php echo site_url('station/assign_all/'); ?>" class="btn btn-danger" onclick="return confirm('Assign All QSOs to Default Station ID"><i class="fas fa-trash-alt"></i> press this button to assign all QSOs to the first Station Profile.</a>
</div> </div>
<?php } ?> <?php } ?>
<p><a href="<?php echo site_url('station/create'); ?>" class="btn btn-primary"><i class="fas fa-plus"></i> Create a Station Profile</a></p>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
@ -92,4 +93,4 @@
</div> </div>
</div> </div>