Sha256: 42162c9d65a454d615cf5c387cffe9dfca351e1b5e88874233d5ca6c124d872f
Contents?: true
Size: 1.65 KB
Versions: 8
Compression:
Stored size: 1.65 KB
Contents
-@section = 'my_clippings' .yui-b =render :partial => 'posts/author_profile', :locals => {:user => @user} - if @is_current_user -box :class => "alt" do %h3=:help.l %p=:clippings_let_you_to_save_cool_images_from_around_the_web.l %p=:drag_the_bookmarklet.l :site => configatron.community_name %p=:when_you_see_an_image_you_like_on_the_web.l :site => configatron.community_name -box :class => 'alt', :id => 'clipping_tools' do %h3=:bookmarklet.l %p=:drag_this_to_your_bookmarks_toolbar.l %p= link_to "#{configatron.community_name} it!", clippings_link, :style=>"border:1px solid #ccc; background:#efefef; padding: 5px;", :title=>"#{configatron.community_name} "+:scrapbook.l #yui-main .yui-b -box :class => "hfeed", :id => 'clippings' do %h3= link_to "#{:user_clippings.l :user =>@user.login}", user_clippings_path(@user) - if @clippings.any? -if @clippings.total_count > 1 .pagination=paginating_links @clippings - @clippings.each do |clipping| %a{"href"=>"#{user_clipping_url(@user, clipping) }"} %img.polaroid.clipping{"class"=>"polaroid clipping", "src"=>"#{h clipping.image_uri(:thumb) }"}/ - else %p= @is_current_user ? :you_have_no_clippings_use_the_bookmarklet_on_the_right_to_add_some.l : :no_clippings_yet.l -box :class => 'alt', :id => 'tag_list' do %h3=:tags.l - tag_cloud @tags, %w(nube1 nube2 nube3 nube4 nube5) do |name, css_class| - css_class = css_class + (name.eql?(params[:tag_name]) ? " selected": "") = link_to name, user_clippings_path(:user_id => @user, :tag_name => name), :class => css_class
Version data entries
8 entries across 8 versions & 1 rubygems