Sha256: 056302ec80c375f06afdce5a14a2dd8e29357d76c10ecc3318de52b064c893c7

Contents?: true

Size: 1 KB

Versions: 8

Compression:

Stored size: 1 KB

Contents

-@section = 'clippings'

#yui-main
  .yui-b    
    -box do 
      %h3
        = params[:recent] ? :recent.l : :popular.l
        Clippings

      .clippings_grid

        - @clippings.to_a.in_groups_of(2) do |group|
          .row  
            - group.compact.each do |clipping|
              =render :partial => 'clippings/clipping', :locals => {:clipping => clipping}
            .clear
      
      -if @clippings.total_count > 1      
        .pagination=paginating_links @clippings
      .clear
      %br
          
.yui-b  
  -box do 
    %h3  
    
    =:clippings_let_you_to_save_cool_images_from_around_the_web.l
    -if logged_in?
      =link_to :go_to_your_clippings_page_to_get_started.l, user_clippings_path(current_user)
    -else
      =:to_get_started_with_clippings_first.l+" " 
      =link_to :create_an_account.l, signup_path
  -box :class => "alt" do 
    =link_to "#{:view.l} #{params[:recent] ? :popular.l : :recent.l} #{:clippings.l}", site_clippings_path(:recent => params[:recent] ? nil : 'true')

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/clippings/site_index.html.haml
community_engine-2.3.1 app/views/clippings/site_index.html.haml
community_engine-2.3.0 app/views/clippings/site_index.html.haml
community_engine-2.1.0 app/views/clippings/site_index.html.haml
community_engine-2.0.0 app/views/clippings/site_index.html.haml
community_engine-2.0.0.beta3 app/views/clippings/site_index.html.haml
community_engine-2.0.0.beta2 app/views/clippings/site_index.html.haml
community_engine-2.0.0.beta1 app/views/clippings/site_index.html.haml