{Logbook] Added a heading under nav to show current logbook and location name.

pull/2407/head
Peter Goodhall 2023-08-14 14:48:22 +01:00
rodzic 7a6e84a52e
commit 2f8056e873
1 zmienionych plików z 8 dodań i 5 usunięć

Wyświetl plik

@ -1,11 +1,14 @@
<div class="alert alert-secondary" role="alert" style="margin-bottom: 0px !important;">
<div class="container">
<?php if ($results) { ?>
<p style="margin-bottom: 0px !important;"><?php echo lang('gen_hamradio_logbook'); ?>: <span class="badge badge-info"><?php echo $this->logbooks_model->find_name($this->session->userdata('active_station_logbook')); ?></span> <?php echo lang('general_word_location'); ?>: <span class="badge badge-info"><?php echo $this->stations->find_name(); ?></span></p>
<?php } ?>
</div>
</div>
<div class="container logbook">
<h2><?php echo lang('gen_hamradio_logbook'); ?></h2>
<?php if ($results) { ?>
<h6><?php echo lang('gen_hamradio_logbook').": ".$this->logbooks_model->find_name($this->session->userdata('active_station_logbook')); ?> <?php echo lang('general_word_location').": ".$this->stations->find_name(); ?></h6>
<?php } ?>
<?php if($this->session->flashdata('notice')) { ?>
<div class="alert alert-info" role="alert">
<?php echo $this->session->flashdata('notice'); ?>