]> source.dussan.org Git - redmine.git/commitdiff
Fixed: blank lines in left menu with IE
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 21 Apr 2007 18:06:01 +0000 (18:06 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 21 Apr 2007 18:06:01 +0000 (18:06 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@462 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/layouts/base.rhtml

index 1e81dabd2498d7ea6056de6242e0007a7cf2f8f0..1929e386a2b59266bfa775a6be0c5f739e157cd6 100644 (file)
                                <li><%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %></li>
                                <li><%= link_to l(:label_roadmap), :controller => 'projects', :action => 'roadmap', :id => @project %></li>
                                <li><%= link_to l(:label_document_plural), :controller => 'projects', :action => 'list_documents', :id => @project %></li>
-                               <li><%= link_to l(:label_wiki), :controller => 'wiki', :id => @project, :page => nil if @project.wiki and !@project.wiki.new_record? %></li>                            
+                               <%= content_tag("li", link_to(l(:label_wiki), :controller => 'wiki', :id => @project, :page => nil)) if @project.wiki and !@project.wiki.new_record? %>
                                <li><%= link_to l(:label_attachment_plural), :controller => 'projects', :action => 'list_files', :id => @project %></li>
                                <li><%= link_to l(:label_search), :controller => 'projects', :action => 'search', :id => @project %></li>
-                               <li><%= link_to l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project if @project.repository and !@project.repository.new_record? %></li>
+                               <%= content_tag("li", link_to(l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project)) if @project.repository and !@project.repository.new_record? %>
                                <li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li>
                        </ul>
                <% end %>