Project

General

Profile

Feature #12032 ยป collapsible-sidebar.diff

Brandon Liles, 2012-11-12 19:10

View differences:

app/views/issues/_sidebar.html.erb
1
<div id="sidebarWrapper" class="expanded">
2
<p id="hide-side-bar"><a onclick="document.getElementById('sidebarWrapper').className='collapsed';document.getElementById('sidebar').className='collapsed';"><img src="/images/sidebar_collapse.gif" /></a></p>
3
<p id="show-side-bar"><a onclick="document.getElementById('sidebarWrapper').className='expanded';document.getElementById('sidebar').className='expanded';"><img src="/images/sidebar_expand.gif" /></a></p>
4
<div id="sidebar-content" >
5

  
1 6
<h3><%= l(:label_issue_plural) %></h3>
2 7
<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br />
3 8
<% if @project %>
......
15 20

  
16 21
<%= render_sidebar_queries %>
17 22
<%= call_hook(:view_issues_sidebar_queries_bottom) %>
23

  
24
</div>
25
</div>
    (1-1/1)