Replace stream_container with stream-container

This commit is contained in:
Steffen van Bergerem 2017-08-30 03:01:22 +02:00 committed by Benjamin Neff
parent b4e3f84607
commit 3df4749733
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
12 changed files with 18 additions and 18 deletions

View file

@ -148,7 +148,7 @@
}
}
.stream_container .conversation-participants {
.stream-container .conversation-participants {
margin-bottom: 20px;
.hide_conversation, .delete_conversation {

View file

@ -22,7 +22,7 @@
}
}
.stream_container,
.stream-container,
.single-post-interactions {
.control-icons {
float: right;

View file

@ -137,7 +137,7 @@
}
.stream_container > .pagination { text-align: center; }
.stream-container > .pagination { text-align: center; }
#people_stream {
background-color: $white;

View file

@ -1,4 +1,4 @@
.stream_container {
.stream-container {
.stream-title {
margin: 12px 0;
}

View file

@ -22,7 +22,7 @@
= will_paginate @visibilities, previous_label: "«", next_label: "»", inner_window: 1,
renderer: WillPaginate::ActionView::BootstrapLinkRenderer
.col-md-8
.conversations-form-container.stream_container
.conversations-form-container.stream-container
#conversation-show{class: @conversation ? "" : "hidden"}
- if @conversation
= render 'conversations/show', conversation: @conversation

View file

@ -11,7 +11,7 @@
.profile_header
-# more JS
.stream_container
.stream-container
#people_stream.stream
- @hashes.each do |hash|
= render partial: 'people/person', locals: hash

View file

@ -18,7 +18,7 @@
.profile_header
-# more JS
.stream_container
.stream-container
- if user_signed_in? && current_user.person.id == @person.id && !current_page?(person_photos_path(@person))
= render 'publisher/publisher', publisher_aspects_for(nil)

View file

@ -176,7 +176,7 @@
= link_to t("layouts.application.powered_by"), "https://diasporafoundation.org"
.col-md-9
.stream_container#aspect_stream_container
.stream-container#aspect-stream-container
= render "aspects/aspect_stream", stream: @stream
%a.entypo-chevron-up.back-to-top#back-to-top{title: "#{t('layouts.application.back_to_top')}", href: "#"}

View file

@ -20,7 +20,7 @@
= render partial: "people/index", locals: {people: @stream.tagged_people}
.col-md-9
.stream_container
.stream-container
#author_info
%h2
= @stream.display_tag_name

View file

@ -24,12 +24,12 @@ Feature: private conversations
And I should see "less than a minute ago" within "#conversation-show"
And I should see "Alice Awesome" as a participant
And "Alice Awesome" should be part of active conversation
And I should see "hello, alice!" within ".stream_container"
And I should see "hello, alice!" within ".stream-container"
When I sign in as "alice@alice.alice"
Then I should have 1 unread private message
And I should have 1 email delivery
When I reply with "hey, how you doing?"
Then I should see "hey, how you doing?" within ".stream_container"
Then I should see "hey, how you doing?" within ".stream-container"
Scenario: send a message using keyboard shortcuts
When I sign in as "bob@bob.bob"
@ -37,9 +37,9 @@ Feature: private conversations
Then I should see "Greetings" within "#conversation-inbox"
And I should see "Greetings" within "#conversation-show"
And "Alice Awesome" should be part of active conversation
And I should see "hello, alice!" within ".stream_container"
And I should see "hello, alice!" within ".stream-container"
When I reply with "hey, how you doing?" using keyboard shortcuts
Then I should see "hey, how you doing?" within ".stream_container"
Then I should see "hey, how you doing?" within ".stream-container"
When I sign in as "alice@alice.alice"
Then I should have 2 unread private messages
And I should have 2 email delivery
@ -54,7 +54,7 @@ Feature: private conversations
Then I should see "Greetings" within "#conversation-inbox"
And I should see "Greetings" within "#conversation-show"
And "Alice Awesome" should be part of active conversation
And I should see "hello, alice!" within ".stream_container"
And I should see "hello, alice!" within ".stream-container"
Scenario: delete a conversation
When I sign in as "bob@bob.bob"
@ -66,7 +66,7 @@ Feature: private conversations
Then I should have 1 unread private message
And I should have 1 email delivery
When I reply with "hey, how you doing?"
Then I should see "hey, how you doing?" within ".stream_container"
Then I should see "hey, how you doing?" within ".stream-container"
When I sign in as "bob@bob.bob"
Then I should have 1 email delivery
And I should have no unread private messages

View file

@ -46,7 +46,7 @@ end
When /^I select only "([^"]*)" aspect$/ do |aspect_name|
click_link "My aspects"
expect(find("#aspect_stream_container")).to have_css(".loader.hidden", visible: false)
expect(find("#aspect-stream-container")).to have_css(".loader.hidden", visible: false)
within("#aspects_list") do
all(".selected").each do |node|
aspect_item = node.find(:xpath, "..")

View file

@ -125,10 +125,10 @@ end
Then /^I should see a video player$/ do
visit aspects_path
find('.post-content .oembed')
find('.stream_container').should have_css('.post-content .oembed img')
find('.stream-container').should have_css('.post-content .oembed img')
end
Then /^I should not see a video player$/ do
find('.stream_container').should_not have_css('.post-content .oembed img')
find('.stream-container').should_not have_css('.post-content .oembed img')
end