aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/shared/tweets.html.haml
blob: 4437cab22445b86776ab761362c3acbe6d35f508 (plain)
1
2
3
4
5
6
7
8
9
10
11
- if @show_search
  = render :partial => "shared/search"
.items
  = render :partial => "shared/tweet", :collection => @items, :as => :item
.loading
  = image_tag "loading.gif", :alt => "loading...", :title => nil
- if @items
  - if params[:page]
    = link_to_next_page @items, raw("Next ›")
  - else
    = link_to raw("Next ›"), params.merge(:max_id => @items.last.id - 1), :rel => :next