Commit 949233aa1f205d81283e21c6804975ee2481bd54

Authored by Dmitriy Zaporozhets
1 parent f5555784

Changed default icon for gravatar. Moved filter out of layout

app/assets/stylesheets/sections/events.scss
... ... @@ -123,6 +123,7 @@
123 123 .event_filter {
124 124 position: absolute;
125 125 width: 40px;
  126 + margin-left: -50px;
126 127  
127 128 .filter_icon {
128 129 float: left;
... ... @@ -140,9 +141,3 @@
140 141 }
141 142 }
142 143 }
143   -
144   -.activities {
145   - .content_list {
146   - margin-left:50px;
147   - }
148   -}
... ...
app/helpers/application_helper.rb
... ... @@ -36,7 +36,7 @@ module ApplicationHelper
36 36 else
37 37 gravatar_prefix = request.ssl? ? "https://secure" : "http://www"
38 38 user_email.strip!
39   - "#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&d=identicon"
  39 + "#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&d=mm"
40 40 end
41 41 end
42 42  
... ...
app/views/dashboard/index.html.haml
... ... @@ -13,7 +13,7 @@
13 13 - if @events.any?
14 14 .content_list= render @events
15 15 - else
16   - %h4.nothing_here_message Projects activity will be displayed here
  16 + %p.nothing_here_message Projects activity will be displayed here
17 17 .loading.hide
18 18 .side
19 19 - if @groups.present?
... ...