Commit 39aee01f
Changed files (1)
app
views
profiles
app/views/profiles/show.html.erb
@@ -8,9 +8,8 @@
</div>
<div class="span9">
<h1><%= @user.name %> <small>A member since <%= @user.created_at.to_s :foomat %>, with <%= @user.creations.length %> creations.</small> </h1>
- <h5><%= @user.name %></h5>
+ <h5><%= @user.city %></h5>
<hr>
- <p><%= @user.city %></p>
<% unless @user.website.blank? %>
<p><a href="<%= @user.website %>" target="_blank">Website</a></p>
<% end %>
@@ -34,9 +33,7 @@
<%= image_tag creation.primary_image.url_for(:thumb) %>
<% end %>
<div class="caption">
- <h4><%= link_to shrink(creation.name, 12), cake_path(creation) %></h4>
- <p><%= link_to shrink(creation.user.name, 20), profile_path(creation.user) %></p>
- <p><small><%= time_ago_in_words(creation.created_at) %> ago.</small></p>
+ <small><%= link_to shrink(creation.name, 20), cake_path(creation) %></small>
</div>
</div>
</li>