From c5556a0d504bfff4bb5650e71a0bd26212888442 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Fri, 14 Feb 2014 04:04:28 -0700 Subject: [PATCH] Adding bio to summary --- app/views/users/_user.html.erb | 14 +++++++++----- app/views/users/summary.html.erb | 19 +++++++++++++++---- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb index 8d7efae..2a0d516 100644 --- a/app/views/users/_user.html.erb +++ b/app/views/users/_user.html.erb @@ -1,8 +1,12 @@
- <%= image_tag user.gravatar_url(:default => "http://members.heatsynclabs.org/pirate.png") %> - -<%= render partial: 'badges', locals: {user: user} %> - + <%= link_to (image_tag user.gravatar_url(:default => "http://members.heatsynclabs.org/pirate.png") ), user %> + + <%= render partial: 'badges', locals: {user: user} %> + -

<%= link_to user.name, user %>

+
+ <%= strip_tags(user.current_skills).truncate(50) %> +
+

<%= link_to user.name, user %> +

diff --git a/app/views/users/summary.html.erb b/app/views/users/summary.html.erb index 4d41828..f2cd3b1 100755 --- a/app/views/users/summary.html.erb +++ b/app/views/users/summary.html.erb @@ -1,10 +1,14 @@