[Station Profile] This has now changed to Station Location

This commit is contained in:
Peter Goodhall 2021-03-24 17:22:32 +00:00
parent b6fcce67eb
commit 48c20fcc1d
4 changed files with 8 additions and 8 deletions

View File

@ -46,7 +46,7 @@ class Station extends CI_Controller {
if ($this->form_validation->run() == FALSE) if ($this->form_validation->run() == FALSE)
{ {
$data['page_title'] = "Create Station Profile"; $data['page_title'] = "Create Station Location";
$this->load->view('interface_assets/header', $data); $this->load->view('interface_assets/header', $data);
$this->load->view('station_profile/create'); $this->load->view('station_profile/create');
$this->load->view('interface_assets/footer'); $this->load->view('interface_assets/footer');
@ -77,7 +77,7 @@ class Station extends CI_Controller {
$data['dxcc_list'] = $this->dxcc->list(); $data['dxcc_list'] = $this->dxcc->list();
$data['page_title'] = "Edit Station Profile"; $data['page_title'] = "Edit Station Location";
$this->form_validation->set_rules('station_profile_name', 'Station Profile Name', 'required'); $this->form_validation->set_rules('station_profile_name', 'Station Profile Name', 'required');

View File

@ -221,7 +221,7 @@
</div> </div>
</div> </div>
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Create Station Profile</button> <button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Create Station Location</button>
</form> </form>
</div> </div>

View File

@ -246,7 +246,7 @@
</div> </div>
</div> </div>
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Update Station Profile</button> <button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Update Station Location</button>
</form> </form>
</div> </div>

View File

@ -12,20 +12,20 @@
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
Station Profiles Station Locations
</div> </div>
<div class="card-body"> <div class="card-body">
<p class="card-text">Station Profiles define operating locations, such as your QTH, a friend's QTH, or a portable station.</p> <p class="card-text">Station Locations define operating locations, such as your QTH, a friend's QTH, or a portable station.</p>
<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> <p><a href="<?php echo site_url('station/create'); ?>" class="btn btn-primary"><i class="fas fa-plus"></i> Create a Station Location</a></p>
<?php if ($stations->num_rows() > 0) { ?> <?php if ($stations->num_rows() > 0) { ?>
<?php if($current_active == 0) { ?> <?php if($current_active == 0) { ?>
<div class="alert alert-danger" role="alert"> <div class="alert alert-danger" role="alert">
Attention: You need to set an active station profile. Go to Admin->Station Profiles to select one. Attention: You need to set an active station location. Go to Callsign->Station Location to select one.
</div> </div>
<?php } ?> <?php } ?>