app/views/kinney/people/index.html.erb in kinney-0.0.3 vs app/views/kinney/people/index.html.erb in kinney-0.1.0
- old
+ new
@@ -3,71 +3,10 @@
<%= content_for :header do %>
<h1><%= t '.title' %></h1>
<% end -%>
-
-<div id="insert_controls" class="row"></div>
-<div class='row' id="people_with_images">
- <div class="span12">
-
- <ul class="thumbnails sortable_thumbs">
- <% @people_with_images.each do |person| %>
- <li class="span2 sortable_thumb" itemscope itemtype="http://schema.org/Person">
- <%= link_to(person, :class => :thumbnail, :itemprop => :url) do %>
- <div class="block">
- <%= kinney_image_small(person.image, person) %>
- <div class="caption">
- <div class="clearfix">
- <span itemprop="name"><%= person.nickname %> <span class="last_name"><%= person.last_name %></span><%= ', ' + person.name_suffix if !person.name_suffix.blank? %>
- </span>
- <div>
- <span class="grad_class"><%= person.graduating_class %></span>
- </div>
- <% if person.clips.size > 0 %>
- <div class="available_video">
- <span class="label"><%= pluralize(person.clips.size, 'Video') %></span>
- </div>
- <% end -%>
- </div>
- </div>
- </div>
- <% end -%>
- </li>
- <% end -%>
- </ul>
- </div>
-</div>
-
-<% if !@people_without_images.blank? %>
- <div class="row">
- <div class="span12">
- <h2><%= t '.title_other_profiles' %></h2>
- </div>
- <div class="span5" id="people_no_clips">
- <%= render "image_solicitation_text" %>
- <table class="tablesorter tablesorter-blue table">
- <thead>
- <tr>
- <th><%= t '.table_name' %></th>
- <th><%= t '.table_class_of' %></th>
- </tr>
- </thead>
- <tbody>
- <% @people_without_images.each do |person| %>
- <tr>
- <td>
- <%= link_to person do %>
- <%= person.first_name %> <%= person.middle_name %> <span class="last_name"><%= person.last_name %></span>
- <% if person.clips.length > 0 %>
- <span>(<%= pluralize(person.clips.size, 'Video') %>)</span>
- <% end -%>
- <% end -%>
- </td>
- <td><%= person.graduating_class %></td>
- </tr>
- <% end -%>
- </tbody>
- </table>
- </div>
- </div>
-<% end -%>
+<ul class="nav nav-stacked">
+ <% @people.each do |person| %>
+ <li><%= link_to person.full_name, person %></li>
+ <% end -%>
+</ul>
\ No newline at end of file