From 949233aa1f205d81283e21c6804975ee2481bd54 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 6 Nov 2012 13:47:43 +0200 Subject: [PATCH] Changed default icon for gravatar. Moved filter out of layout --- app/assets/stylesheets/sections/events.scss | 7 +------ app/helpers/application_helper.rb | 2 +- app/views/dashboard/index.html.haml | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss index f39796e9..99523639 100644 --- a/app/assets/stylesheets/sections/events.scss +++ b/app/assets/stylesheets/sections/events.scss @@ -123,6 +123,7 @@ .event_filter { position: absolute; width: 40px; + margin-left: -50px; .filter_icon { float: left; @@ -140,9 +141,3 @@ } } } - -.activities { - .content_list { - margin-left:50px; - } -} diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a4d36c9b..cba34c96 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -36,7 +36,7 @@ module ApplicationHelper else gravatar_prefix = request.ssl? ? "https://secure" : "http://www" 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 diff --git a/app/views/dashboard/index.html.haml b/app/views/dashboard/index.html.haml index 023d3213..d0882c6d 100644 --- a/app/views/dashboard/index.html.haml +++ b/app/views/dashboard/index.html.haml @@ -13,7 +13,7 @@ - if @events.any? .content_list= render @events - else - %h4.nothing_here_message Projects activity will be displayed here + %p.nothing_here_message Projects activity will be displayed here .loading.hide .side - if @groups.present?