Commit b3d98a13

mo khan <mo@mokhan.ca>
2014-01-19 15:47:34
move news feed to the right.
1 parent 49d489c
app/views/dashboard/_comment.html.erb
@@ -1,13 +1,9 @@
-<dt>
-<i class="icon-comment icon-large"></i>
-</dt>
-<dd>
-<p>
-<%= avatar_for(subject.user, size: 24) %> 
-<%= link_to subject.user.name, profile_path(subject.user) %> commented on <%= link_to subject.creation.name, creation_path(subject.creation) %>
-<small><%= time_ago_in_words(subject.created_at) %> ago.</small>
-<blockquote>
-  <%= subject.text %>
-</blockquote>
-</p>
-</dd>
+<div>
+  <i class="icon-comment icon-large"></i>
+  <%= avatar_for(subject.user, size: 24) %> 
+  <%= link_to subject.user.name, profile_path(subject.user) %> commented on <%= link_to subject.creation.name, creation_path(subject.creation) %>
+  <small><%= time_ago_in_words(subject.created_at) %> ago.</small>
+  <blockquote>
+    <%= subject.text %>
+  </blockquote>
+</div>
app/views/dashboard/_favorite.html.erb
@@ -1,11 +1,9 @@
-<dt>
-<i class="icon-heart icon-large"></i>
-</dt>
-<dd>
-<p>
-<%= avatar_for(subject.user, size: 24) %> 
-<%= link_to subject.user.name, profile_path(subject.user) %> added 
-<%= link_to subject.creation.name, creation_path(subject.creation) %> to their favorites
-<small><%= time_ago_in_words(subject.created_at) %> ago.</small>
-</p>
-</dd>
+<div>
+  <p>
+  <i class="icon-heart icon-large"></i>
+  <%= avatar_for(subject.user, size: 24) %> 
+  <%= link_to subject.user.name, profile_path(subject.user) %> added 
+  <%= link_to subject.creation.name, creation_path(subject.creation) %> to their favorites
+  <small><%= time_ago_in_words(subject.created_at) %> ago.</small>
+  </p>
+</div>
app/views/dashboard/index.html.erb
@@ -1,11 +1,11 @@
 <% provide(:title, "Dashboard") -%>
 <div class="row">
-  <div class="span12">
+  <div class="span7">
+  </div>
+  <div class="span5">
     <h1>News Feed</h1>
-    <dl class="dl-horizontal">
-      <% @activities.each do |activity| %>
-        <%= render activity.subject.class.to_s.downcase, subject: activity.subject %>
-      <% end %>
-    </dl>
+    <% @activities.each do |activity| %>
+      <%= render activity.subject.class.to_s.downcase, subject: activity.subject %>
+    <% end %>
   </div>
 </div>