From 77e12484c02f842fe30d37b6602adb25fb60340a Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 28 Sep 2011 12:06:41 +0100 Subject: [PATCH] Added submenu to notes and improved notice if no notes exist --- application/views/layout/header.php | 11 +++++++++++ application/views/notes/main.php | 4 +--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/application/views/layout/header.php b/application/views/layout/header.php index 795dba0f..c1692f00 100644 --- a/application/views/layout/header.php +++ b/application/views/layout/header.php @@ -198,4 +198,15 @@ + + uri->segment(1) == "notes") { ?> + +
\ No newline at end of file diff --git a/application/views/notes/main.php b/application/views/notes/main.php index 85ec58ac..bef0eeed 100644 --- a/application/views/notes/main.php +++ b/application/views/notes/main.php @@ -14,11 +14,9 @@ } echo ""; } else { - echo "

You have no notes, why not create one!

"; + echo "

You don’t currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can’t lose them!

"; } ?> -

Create a Note

- \ No newline at end of file