summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-27 20:51:49 -0400
committernfoy <nfoy@purdue.edu>2014-04-27 20:51:49 -0400
commit12b9f96b4003ec384e1583e4d6d53fcb8d5f960c (patch)
tree26bca6ff6aeabf98197451454e57010c09bca8f0 /app/views/users
parent95542d38ddae5700e7fa35c166260a51ce17e46a (diff)
More tournament index stuff.
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/index.html.erb2
-rw-r--r--app/views/users/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 89e369a..e4251cd 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -16,7 +16,7 @@
<tbody>
<% @users.each do |user| %>
<tr>
- <td><%= link_to("#{user.user_name}", user, nil) %></td>
+ <td><%= image_tag('http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(user.email) + '?s=30&d=identicon') %> <%= link_to("#{user.user_name}", user, nil) %></td>
<td><%= user.name %></td>
<td> ******* </td>
<td><%= user.user_name %></td>
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index b408589..b247b7d 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -54,4 +54,4 @@
</div>
<%= link_to 'Edit', edit_user_path(@user) %> |
-<%= link_to 'Users', users_path %>
+<%= link_to 'All Users', users_path %>