From e37ee0d21b1bb9fc1ff082c4303c8dfb26bc8ce0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 24 Feb 2013 11:33:27 +0000 Subject: [PATCH] Use li tags for issue links in the sidebar (#13242). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11470 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_sidebar.html.erb | 14 +++++++++----- public/stylesheets/application.css | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb index 24b8a4fa4..dbf191813 100644 --- a/app/views/issues/_sidebar.html.erb +++ b/app/views/issues/_sidebar.html.erb @@ -1,16 +1,20 @@

<%= l(:label_issue_plural) %>

-<%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %>
+ + + +<%= call_hook(:view_issues_sidebar_issues_bottom) %> <%= call_hook(:view_issues_sidebar_planning_bottom) %> <%= render_sidebar_queries %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 2ab2032c4..c6035ef88 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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;}