From b56fcb2f79425d57d112b72f0bdb4e259aa1c100 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Sun, 1 Jan 2023 13:26:20 +0100 Subject: [PATCH] [Station logbooks] Tweaked the view a little bit and corrected the warning text on delete. --- application/views/logbooks/index.php | 29 +++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/application/views/logbooks/index.php b/application/views/logbooks/index.php index feafbde0..d9e0f07f 100644 --- a/application/views/logbooks/index.php +++ b/application/views/logbooks/index.php @@ -28,11 +28,14 @@ num_rows() > 0) { ?>
- +
- + + + + @@ -45,20 +48,24 @@ + + + -
NameStatusEditDeleteLink
session->userdata('active_station_logbook') != $row->logbook_id) { ?> logbook_id; ?>" class="btn btn-outline-primary btn-sm">Set as Active Logbook - - + Active Logbook'; + }?> + logbook_id; ?>" class="btn btn-outline-primary btn-sm"> - - public_slug != '') { ?> - public_slug; ?>" class="btn btn-outline-primary btn-sm" > - - + session->userdata('active_station_logbook') != $row->logbook_id) { ?> - logbook_id; ?>" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure you want delete station profile logbook_name; ?> this will delete all QSOs within this station logbook?');"> + logbook_id; ?>" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure you want delete station logbook logbook_name; ?>? You must re-link any locations linked here to another logbook.');"> + public_slug != '') { ?> + public_slug; ?>" class="btn btn-outline-primary btn-sm" > + +