Commit 949233aa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Changed default icon for gravatar. Moved filter out of layout

parent f5555784
...@@ -123,6 +123,7 @@ ...@@ -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 @@ ...@@ -140,9 +141,3 @@
} }
} }
} }
.activities {
.content_list {
margin-left:50px;
}
}
...@@ -36,7 +36,7 @@ module ApplicationHelper ...@@ -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
......
...@@ -13,7 +13,7 @@ ...@@ -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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment