Sha256: d9e42bfaaf3d183a1294f56426886c77884277dfb38ec64e0f14892052595382

Contents?: true

Size: 488 Bytes

Versions: 121

Compression:

Stored size: 488 Bytes

Contents

module SocialStream
  module Views
    module Settings
      module Presence
        def settings_items
          super.tap do |items|
            if SocialStream::Presence.enable
              if current_subject == current_user
                items.insert_before 'notifications', {
                  :key  => 'chat',
                  :html => render(:partial => "chat/settings")
                }
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

121 entries across 121 versions & 3 rubygems

Version Path
social_stream-0.29.0 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.16.0 lib/social_stream/views/settings/presence.rb
social_stream-0.28.4 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.28.1 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.28.0 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.15.0 lib/social_stream/views/settings/presence.rb
social_stream-0.27.3 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.27.2 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.27.1 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.27.0 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.14.0 lib/social_stream/views/settings/presence.rb
social_stream-0.26.2 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.13.3 lib/social_stream/views/settings/presence.rb
social_stream-presence-0.13.2 lib/social_stream/views/settings/presence.rb
social_stream-0.26.1 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.13.1 lib/social_stream/views/settings/presence.rb
social_stream-0.26.0 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.13.0 lib/social_stream/views/settings/presence.rb
social_stream-0.25.2 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.25.1 presence/lib/social_stream/views/settings/presence.rb