From 4ce3b88473e413db8efbdc24343d9eb330400fbd Mon Sep 17 00:00:00 2001
From: Eric Davis <edavis@littlestreamsoftware.com>
Date: Thu, 12 Jan 2012 14:58:15 -0800
Subject: [PATCH] Add a menu to view all projects since the main click event is
 blocked

---
 app/views/layouts/base.rhtml       | 1 +
 public/stylesheets/application.css | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 08819a3cd..20e1f7439 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -46,6 +46,7 @@
         <li class="drop-down">
           <%= link_to l(:label_project_plural), { :controller => 'projects', :action => 'index' }, :class => "projects" %>
           <ul style="display:none;">
+            <li><%= link_to l(:label_project_all), { :controller => 'projects', :action => 'index' }, :class => "projects separator" %></li>
             <%
             project_content = ''
             project_tree(User.current.projects.all) do |project, level|
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index d66ce89ce..3de8bc487 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1316,6 +1316,9 @@ input:-moz-placeholder {
   height:15px;
   line-height:15px;
 }
+#header li.drop-down li > a.separator {
+ border-bottom: 1px solid #555555;
+}
 #breadcrumb {
 	height:38px;
         line-height:38px;
-- 
GitLab