Sha256: 929c3f967647036e32328c937ce4ba3b1dc4d5226d8cd753470404ee1a9e51e8

Contents?: true

Size: 1.1 KB

Versions: 12

Compression:

Stored size: 1.1 KB

Contents

<%= div_for link, :class => 'content_size' do %>
  <% if link.image %>
    <div class="thumbnail">
      <% if link.callback_url %>
        <%= link_to image_tag(link.image),"javascript:void(0)" %>
        <%= link_to image_tag("btn/btn_play.png", :class => "play_button"),"javascript:void(0)" %>
        <%= javascript_tag do %>
          $("#link_<%= link.id.to_s %> img").each(function(){
            $(this).click(function(){
              SocialStream.Linkser.openCallback("link_<%= link.id.to_s %>", "<%= link.callback_url %>");       
            });
          });
          
        <% end %>
      <% else %>
        <%= link_to image_tag(link.image),link.url, :target => "_blank" %>
      <% end %>
    </div>
  <% end %>
  <div class="info">
    <% if link.title %>
      <div class="title">
        <%= link.title %>
      </div>
    <% end %>
    <div class="url">
      <%= link_to link.url, link.url, :target => "_blank" %>
    </div>
    <% if link.description %>
      <div class="description">
        <%= auto_link(link.description) %>
      </div>
    <% end %>
  </div>
<% end %>

<br class="clearfloat">

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
social_stream-0.15.8 linkser/app/views/links/_link.html.erb
social_stream-0.15.7 linkser/app/views/links/_link.html.erb
social_stream-0.15.6 linkser/app/views/links/_link.html.erb
social_stream-linkser-0.0.6 app/views/links/_link.html.erb
social_stream-0.15.5 linkser/app/views/links/_link.html.erb
social_stream-linkser-0.0.5 app/views/links/_link.html.erb
social_stream-0.15.4 linkser/app/views/links/_link.html.erb
social_stream-linkser-0.0.4 app/views/links/_link.html.erb
social_stream-linkser-0.0.3 app/views/links/_link.html.erb
social_stream-0.15.1 linkser/app/views/links/_link.html.erb
social_stream-0.15.0 linkser/app/views/links/_link.html.erb
social_stream-linkser-0.0.2 app/views/links/_link.html.erb