[issue #64] Fixed bug in _history partial
This commit is contained in:
parent
2162a75fc8
commit
549fc242d8
|
@ -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}:"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue