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-1.1.12 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.11 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.10 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.9 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.8 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.7 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.6 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.5 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.4 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.3 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.2 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.1 presence/lib/social_stream/views/settings/presence.rb
social_stream-1.1.0 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-1.1.0 lib/social_stream/views/settings/presence.rb
social_stream-1.0.1 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-1.0.0 lib/social_stream/views/settings/presence.rb
social_stream-0.30.2 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.30.1 presence/lib/social_stream/views/settings/presence.rb
social_stream-0.30.0 presence/lib/social_stream/views/settings/presence.rb
social_stream-presence-0.17.0 lib/social_stream/views/settings/presence.rb