Sha256: 5b90576bd0f8fdf78f6b3491222f77dbf041d8a3a40ce489dd8debe902d1b68e

Contents?: true

Size: 1.25 KB

Versions: 8

Compression:

Stored size: 1.25 KB

Contents

- @meta = { :description => :popular_posts_on.l+" #{configatron.community_name}",:keywords => "#{configatron.meta_keywords}", :robots => configatron.robots_meta_list_content}
- @section = 'popular'

.yui-b
  -box do 
    - if logged_in?
      %h3.signup= :get_popular.l
      %ul.list.checks
        %li=link_to :write_a_blog_post.l, new_user_post_path({:user_id => current_user})
    - else
      %h3.signup= :want_to_be_popular.l 
      %ul.list.checks
        %li
          %a{:href=>signup_url, :title=>:sign_up_for_a_.l+" #{configatron.community_name} "+:account.l}=:sign_up_for_an_account.l
          %br
            %small
              =:have_an_account.l
              %a{:href=>login_url, :title=>:log_in_to_your.l+" #{configatron.community_name} "+:account.l}
                »
                =:log_in.l

  -box :class => "alt" do 
    %h3= :this_month_best.l 
    %ul.list.page    
      - @monthly_popular_posts.each do |post|
        =render :partial => 'posts/sidebar_post', :locals => {:post => post}

#yui-main
  .yui-b
    -box :class => "hfeed" do 
      %h3 
        =:what_is_popular.l
        %ul.subnav
          %li= :looking_for_most_x.l :link => link_to("#{:most_recent.l}?", recent_path)
      = render :partial => 'posts/post', :collection => @posts

Version data entries

8 entries across 8 versions & 1 rubygems

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