[issue #64] Fixed bug in _history partial

This commit is contained in:
George Vinogradov 2012-02-03 04:23:29 +04:00
parent 2162a75fc8
commit 549fc242d8
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
%img{:src => gravatar_url(v.author.email), %img{:src => gravatar_url(v.author.email),
:alt => "avatar: #{v.author.name.force_encoding(Encoding.default_internal || Encoding::UTF_8)}", :alt => "avatar: #{v.author.name.force_encoding(Encoding.default_internal || Encoding::UTF_8)}",
:class => "mini-gravatar"} :class => "mini-gravatar"}
%span.username= user.uname %span.username= user.present? ? user.uname : v.author.name
%td.commit-name %td.commit-name
%span.time-elapsed= "#{l v.committed_date.to_date, :format => :long}:" %span.time-elapsed= "#{l v.committed_date.to_date, :format => :long}:"