]> source.dussan.org Git - redmine.git/commitdiff
Use li tags for issue links in the sidebar (#13242).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 24 Feb 2013 11:33:27 +0000 (11:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 24 Feb 2013 11:33:27 +0000 (11:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11470 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_sidebar.html.erb
public/stylesheets/application.css

index 24b8a4fa46a39b141fcae0b2373a9949c47e0af6..dbf19181352f10c956407dc8f5ad1d1d7581bf90 100644 (file)
@@ -1,16 +1,20 @@
 <h3><%= l(:label_issue_plural) %></h3>
-<%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %><br />
+
+<ul>
+<li><%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %></li>
 <% if @project %>
-<%= link_to l(:field_summary), project_issues_report_path(@project) %><br />
+<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
 <% end %>
-<%= call_hook(:view_issues_sidebar_issues_bottom) %>
 
 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
-  <%= link_to l(:label_calendar), _project_calendar_path(@project) %><br />
+<li><%= link_to l(:label_calendar), _project_calendar_path(@project) %></li>
 <% end %>
 <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
-  <%= link_to l(:label_gantt), _project_gantt_path(@project) %><br />
+<li><%= link_to l(:label_gantt), _project_gantt_path(@project) %></li>
 <% end %>
+</ul>
+
+<%= call_hook(:view_issues_sidebar_issues_bottom) %>
 <%= call_hook(:view_issues_sidebar_planning_bottom) %>
 
 <%= render_sidebar_queries %>
index 2ab2032c4371fe265a05a6428907df7e6063bd6a..c6035ef8805a3197e109fe2acbf5418239da0167 100644 (file)
@@ -76,8 +76,8 @@ h4 {border-bottom: 1px dotted #bbb;}
 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
 #sidebar .contextual { margin-right: 1em; }
-#sidebar ul.watchers, #sidebar ul.queries {margin: 0;  padding: 0;}
-#sidebar ul.watchers li, #sidebar ul.queries li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
+#sidebar ul {margin: 0;  padding: 0;}
+#sidebar ul li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
 
 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}