app/views/followers/index.html.erb in social_stream-base-1.1.11 vs app/views/followers/index.html.erb in social_stream-base-2.0.0.beta1

- old
+ new

@@ -1,26 +1,30 @@ -<% sidebar %> -<% toolbar :profile, :subject => current_subject %> -<div class="followers tabbable"> - <ul class="nav nav-tabs"> - <li class="active"> - <a data-toggle="tab" href="#following"><%=t('follow.followings')%></a> - </li> - <li class=""> - <a data-toggle="tab" href="#follower"><%=t('follow.followers')%></a> - </li> - </ul> - <div class="tab-content"> - <div id="following" class="tab-pane active offset1"> - <%= render @followings. - page(params[:page]). - per(20). - map { |f| current_subject.contact_to!(f) } %> +<section id="followers"> + <%= render partial: 'toolbar/profile', locals: { :subject => current_subject } %> + + <section class="followers tabbable"> + <ul class="nav nav-tabs"> + <li class="active"> + <a data-toggle="tab" href="#following"><%=t('follow.followings')%></a> + </li> + <li class=""> + <a data-toggle="tab" href="#follower"><%=t('follow.followers')%></a> + </li> + </ul> + <div class="tab-content"> + <div id="following" class="tab-pane active offset1"> + <%= render @followings. + page(params[:page]). + per(20). + map { |f| current_subject.contact_to!(f) } %> + </div> + <div id="follower" class="tab-pane offset1 "> + <%= render @followers. + page(params[:page]). + per(20). + map { |f| current_subject.contact_to!(f) } %> + </div> </div> - <div id="follower" class="tab-pane offset1 "> - <%= render @followers. - page(params[:page]). - per(20). - map { |f| current_subject.contact_to!(f) } %> - </div> - </div> -</div> + </section> + + <%= render partial: 'sidebar/show' %> +</section>