##// END OF EJS Templates
Use li tags for issue links in the sidebar (#13242)....
Jean-Philippe Lang -
r11240:e37ee0d21b1b
parent child
Show More
@@ -1,16 +1,20
1 <h3><%= l(:label_issue_plural) %></h3>
1 <h3><%= l(:label_issue_plural) %></h3>
2 <%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %><br />
2
3 <ul>
4 <li><%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %></li>
3 <% if @project %>
5 <% if @project %>
4 <%= link_to l(:field_summary), project_issues_report_path(@project) %><br />
6 <li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
5 <% end %>
7 <% end %>
6 <%= call_hook(:view_issues_sidebar_issues_bottom) %>
7
8
8 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
9 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
9 <%= link_to l(:label_calendar), _project_calendar_path(@project) %><br />
10 <li><%= link_to l(:label_calendar), _project_calendar_path(@project) %></li>
10 <% end %>
11 <% end %>
11 <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
12 <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
12 <%= link_to l(:label_gantt), _project_gantt_path(@project) %><br />
13 <li><%= link_to l(:label_gantt), _project_gantt_path(@project) %></li>
13 <% end %>
14 <% end %>
15 </ul>
16
17 <%= call_hook(:view_issues_sidebar_issues_bottom) %>
14 <%= call_hook(:view_issues_sidebar_planning_bottom) %>
18 <%= call_hook(:view_issues_sidebar_planning_bottom) %>
15
19
16 <%= render_sidebar_queries %>
20 <%= render_sidebar_queries %>
@@ -76,8 +76,8 h4 {border-bottom: 1px dotted #bbb;}
76 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
76 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
77 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
77 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
78 #sidebar .contextual { margin-right: 1em; }
78 #sidebar .contextual { margin-right: 1em; }
79 #sidebar ul.watchers, #sidebar ul.queries {margin: 0; padding: 0;}
79 #sidebar ul {margin: 0; padding: 0;}
80 #sidebar ul.watchers li, #sidebar ul.queries li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
80 #sidebar ul li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
81
81
82 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
82 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
83 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
83 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
General Comments 0
You need to be logged in to leave comments. Login now