Sha256: 55b9ffb28124239e1df755dc714f07717255679dae49e4810c159d467a513f30

Contents?: true

Size: 1.69 KB

Versions: 26

Compression:

Stored size: 1.69 KB

Contents

<div class="text-overlay">
  <p class="description"><%= image.description %></p>
  <p class="username"><%= link_to image.user.user_name, :action => :show, :controller => 'lentil/photographers', :id => image.user_id %></p>
  <div class="btn-toolbar">

    <!-- Social Media Sharing -->
    <div class="btn-group dropup">
      <a class="btn dropdown-toggle share" data-image-id="<%= image.id %>" data-toggle="dropdown" href=""><span class="caret"></span> <%= t 'lentil.sharing.share' %></a>
      <ul class="dropdown-menu">
        <li>
          <a href="http://www.facebook.com/sharer.php?u=<%= image_url(image) %>" class="facebook" data-image-id="<%= image.id %>" target="_blank">
          <i class="icon-facebook"></i> <%= t 'lentil.sharing.facebook' %>
          </a>
        </li>
        <li>
        <a href="http://twitter.com/share?text=Check+out+this+photo+from+<%=u application_name %>&amp;url=<%= image_url(image) %>" target="_blank" class="twitter" data-image-id="<%= image.id %>">
          <i class="icon-twitter"></i> <%= t 'lentil.sharing.twitter' %>
          </a>
        </li>
        <li>
          <a href="mailto:?body=<%= image_url(image) %>&amp;subject=Check%20out%20this%20photo%20from%20<%=u application_name %>" target="_blank" class="email" data-image-id="<%= image.id %>">
          <i class="icon-envelope"></i> <%= t 'lentil.sharing.email' %>
          </a>
        </li>
      </ul>
    </div>
    <!-- Like Voting -->
    <%= render "/layouts/lentil/like_button", :image => image %>
    <!-- Flagging - Modal -->
    <!-- Button to trigger modal -->
    <%= render "layouts/lentil/flag_button", :image => image %>
  </div>
</div>
<%=  render "/lentil/images/flagging_modal", :image => image %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
lentil-1.0.5 app/views/layouts/lentil/_image_popup.html.erb
lentil-1.0.4 app/views/layouts/lentil/_image_popup.html.erb
lentil-1.0.3 app/views/layouts/lentil/_image_popup.html.erb
lentil-1.0.2 app/views/layouts/lentil/_image_popup.html.erb
lentil-1.0.1 app/views/layouts/lentil/_image_popup.html.erb
lentil-1.0.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.9.1 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.9.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.8.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.7.1 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.6.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.5.2 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.5.1 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.5.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.4.2 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.4.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.3.1 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.3.0 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.2.3 app/views/layouts/lentil/_image_popup.html.erb
lentil-0.2.2 app/views/layouts/lentil/_image_popup.html.erb