diff options
-rw-r--r-- | app/views/issues/_sidebar.html.erb | 14 | ||||
-rw-r--r-- | 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 @@ <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 %> 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;} |