Changed default icon for gravatar. Moved filter out of layout

This commit is contained in:
Dmitriy Zaporozhets 2012-11-06 13:47:43 +02:00
parent f555578414
commit 949233aa1f
3 changed files with 3 additions and 8 deletions

View file

@ -123,6 +123,7 @@
.event_filter { .event_filter {
position: absolute; position: absolute;
width: 40px; width: 40px;
margin-left: -50px;
.filter_icon { .filter_icon {
float: left; float: left;
@ -140,9 +141,3 @@
} }
} }
} }
.activities {
.content_list {
margin-left:50px;
}
}

View file

@ -36,7 +36,7 @@ module ApplicationHelper
else else
gravatar_prefix = request.ssl? ? "https://secure" : "http://www" gravatar_prefix = request.ssl? ? "https://secure" : "http://www"
user_email.strip! user_email.strip!
"#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&d=identicon" "#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&d=mm"
end end
end end

View file

@ -13,7 +13,7 @@
- if @events.any? - if @events.any?
.content_list= render @events .content_list= render @events
- else - else
%h4.nothing_here_message Projects activity will be displayed here %p.nothing_here_message Projects activity will be displayed here
.loading.hide .loading.hide
.side .side
- if @groups.present? - if @groups.present?