Sha256: da00b3d3c34f5eff32474e09dc3877534c730df72bb57d551420209a7ba4bffd
Contents?: true
Size: 1.76 KB
Versions: 1
Compression:
Stored size: 1.76 KB
Contents
<%= content_for :head, auto_discovery_link_tag(:atom) %> <fieldset><legend> Recent Clips<%= " - #{params[:lang]}" unless params[:lang].nil? %> <%= link_to "", clips_clips_path(:lang => params[:lang], :format=>:atom), :class=>"image-feed pull-right" %> </legend></fieldset> <div class="span7"> <table class="table table-striped table-bordered table-hover span6"> <thead> <tr> <th> Title </th> <% if Clipster.config.associates_clip_with_user %> <th> User </th> <% end %> <th> Language </th> <th> Created On </th> <th> Expires </th> </tr> </thead> <tbody> <% @clips.each do |clip| %> <tr> <td><%= link_to clip.title, clip %></td> <% if Clipster.config.associates_clip_with_user %> <td> <%= link_to(display_user_text(clip.user), clip.user) if clip.user %> </td> <% end %> <td><%= clip.language.capitalize %></td> <td><%= l clip.created_at, :format => :short %></td> <td><%= clip.expires_in_words %></td> </tr> <% end %> <% unless @clips.length > 0 %> <tr> <td colspan="100%" style="text-align: center;">There are no public clips.</td> </tr> <% end %> </tbody> </table> <div class="clearfix"></div> <%= paginate @clips %> </div> <%= render "clipster/common/languages" %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clipster-0.5.3 | app/views/clipster/clips/clips.html.erb |