[issue #193] Updated

This commit is contained in:
George Vinogradov 2012-03-07 00:54:02 +04:00
parent 0289f7cc3e
commit 396540ffe3
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@
%td.td2
- user = User.where(:email => v.author.email).first
.avatar
= link_to user_path_by_user(user) do
%img.mini-gravatar{:src => gravatar_url(v.author.email), :alt => "avatar: #{v.author.name.encode_to_default}"}
= link_to user_path_by_user(user) do
%img.mini-gravatar{:src => gravatar_url(v.author.email), :alt => "avatar: #{v.author.name.encode_to_default}"}
.name
= link_to user_path_by_user(user) do
%span.username= user.present? ? "#{user.uname} (#{user.name})" : v.author.name.encode_to_default