-
-
Notifications
You must be signed in to change notification settings - Fork 197
/
list.html.erb
32 lines (26 loc) · 1.1 KB
/
list.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<%= render partial: 'tabs' %>
<div id="header_left" class="header_left">
<h1><%= @title %></h1>
<%= render :partial => 'request/request_search_form',
:locals => { :after_form_fields => render(:partial => 'request/request_filter_form') } %>
<%= render partial: 'category' if @category %>
</div>
<div id="header_right" class="sidebar header_right">
<h2><%= _("Follow these requests") %></h2>
<% if @track_thing %>
<%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'main' } %>
<%= render :partial => 'track/rss_feed', :locals => { :track_thing => @track_thing, :location => 'main' } %>
<% end %>
<%= render partial: 'general/search_latest' %>
<%= render partial: 'general/help_requests' %>
</div>
<div style="clear:both"></div>
<div class="results_section">
<% if key = request_list_cache_key %>
<% cache_if_caching_fragments(key, :expires_in => 5.minutes) do %>
<%= render :partial => 'list_results' %>
<% end %>
<% else %>
<%= render :partial => 'list_results' %>
<% end %>
</div>