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
This commit is contained in:
Jean-Philippe Lang 2013-02-24 11:33:27 +00:00
parent de716bd024
commit e37ee0d21b
2 changed files with 11 additions and 7 deletions

View 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 %>

View 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;}