diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-26 15:53:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-26 15:53:15 +0000 |
commit | 8af6d24a364c192c6e3b4ea98c290f3e3df3ae52 (patch) | |
tree | 3c52174ba51737904b12384e8e185c271b227c6b /app/views | |
parent | f8ef65e8f64111b5bfa45abd42e0e684afd61f07 (diff) | |
download | redmine-8af6d24a364c192c6e3b4ea98c290f3e3df3ae52.tar.gz redmine-8af6d24a364c192c6e3b4ea98c290f3e3df3ae52.zip |
Fixed "Projects" drop-down menu for IE.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@542 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/base.rhtml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 7d549248d..62dd48af2 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -42,12 +42,6 @@ <% if loggedin? and @logged_in_user.memberships.any? %> <li class="submenu"><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "icon icon-projects", :onmouseover => "buttonMouseover(event, 'menuAllProjects');" %></li> - <div id="menuAllProjects" class="menu" onmouseover="menuMouseover(event)"> - <%= link_to l(:label_project_all), {:controller => 'projects' }, :class => "menuItem" %> - <% @logged_in_user.memberships.find(:all, :limit => 20).each do |membership| %> - <%= link_to membership.project.name, {:controller => 'projects',:action => 'show', :id => membership.project }, :class => "menuItem" %> - <% end %> - </div> <% else %> <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "icon icon-projects" %></li> <% end %> @@ -98,6 +92,14 @@ </div> <% end %> + <% if loggedin? and @logged_in_user.memberships.any? %> + <div id="menuAllProjects" class="menu" onmouseover="menuMouseover(event)"> + <%= link_to l(:label_project_all), {:controller => 'projects' }, :class => "menuItem" %> + <% @logged_in_user.memberships.find(:all, :limit => 20).each do |membership| %> + <%= link_to membership.project.name, {:controller => 'projects',:action => 'show', :id => membership.project }, :class => "menuItem" %> + <% end %> + </div> + <% end %> <div id="subcontent"> |