Sha256: d2f11eff90ec34e78bfe64798b26a9dd78853bac2cc24155f454e204bdc28757
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
<legend>Recent Clips from <%= @user %></legend> <div class="span7"> <table class="table table-striped table-bordered table-hover span6"> <thead> <tr> <th> Title </th> <th> Language </th> <th> Created On </th> <th> Expires </th> </tr> </thead> <tbody> <% @clips.each do |clip| %> <tr> <td><%= link_to clip.title, clip_path %></td> <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="3" style="text-align: center;">There are no public clips.</td> </tr> <% end %> </tbody> </table> <div class="clearfix"></div> <%= paginate @clips %> </div> <%# Refactor out into common partial %> <aside class="languages bordered span3 offset1"> <div class="title">Languages</div> <% get_language_counts.each do |lang| %> <div><%= link_to lang.language.capitalize, list_clips_path(:lang => lang.language) %> (<%= lang.count %>)</div> <% end %> </aside>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clipster-0.5.3 | app/views/clipster/users/show.html.erb |
clipster-0.4.0 | app/views/clipster/users/show.html.erb |