aboutsummaryrefslogtreecommitdiff
path: root/views/_navbar.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-23 18:35:48 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-23 18:35:48 +0100
commit1a636d2c97368bc4c4019f4ddcff991ec5eccbce (patch)
treeb8101b2739ddfed34f3f80b5c89fa15de5470739 /views/_navbar.haml
parentf9bab2fc3dcef0b452782de662ee7739a547079a (diff)
Added events viewer
* Fixes #1286 * Version bump
Diffstat (limited to 'views/_navbar.haml')
-rw-r--r--views/_navbar.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/_navbar.haml b/views/_navbar.haml
index aa2b5f5..8b16c55 100644
--- a/views/_navbar.haml
+++ b/views/_navbar.haml
@@ -18,6 +18,8 @@
Cleared (
%span#count_cleared><= @alerts_cleared.length
)
+ %li{:class => [ request.path_info =~ /^\/events/ && "nav_selected"]}
+ %a{:href => '/events/calendar'} Events
%li
%a{:href => '/logout'} Log out
%br