Sha256: 348a708dec6429df94043dde0afd802e5b1149722c063943eb69108cad31bcb9

Contents?: true

Size: 994 Bytes

Versions: 25

Compression:

Stored size: 994 Bytes

Contents

<% content_for :title do %>
  <%=t('message.other')%>
<% end %>

<section id="conversation">
  <%= render partial: 'toolbar/messages' %>

  <%= render :partial => 'show' %>

  <%= javascript_tag do %>
$('.cont_conversation').validate({errorClass: "validation_error"});
<% unless @box.eql?'trash' %>
  $("#body").cleditor({
    width:493,
    controls:  "<%= SocialStream.cleditor_controls %>"    
  });

		var message_hash = window.location.hash.match(/^.*message_(\d+).*$/);
		if (message_hash && message_hash.length > 0){
			$.scrollTo('#message_' + message_hash[1] ,1500,{axis:'y'});
		}else{
			$.scrollTo('#message_<%= @conversation.last_message.id %>',1500,{axis:'y'});		
		}
<% else %>
		var message_hash = window.location.hash.match(/^.*message_(\d+).*$/);
		if (message_hash && message_hash > 0){
			$.scrollTo('#message_' + message_hash[1] ,1500,{axis:'y'});
		}else{
			$.scrollTo('#message_<%= @conversation.last_message.id %>',1500,{axis:'y'});	
		}
<% end %>
<% end %>
</section>

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/conversations/show.html.erb
social_stream-base-2.2.2 app/views/conversations/show.html.erb
social_stream-2.2.1 base/app/views/conversations/show.html.erb
social_stream-base-2.2.1 app/views/conversations/show.html.erb
social_stream-2.2.0 base/app/views/conversations/show.html.erb
social_stream-base-2.2.0 app/views/conversations/show.html.erb
social_stream-2.1.1 base/app/views/conversations/show.html.erb
social_stream-2.1.0 base/app/views/conversations/show.html.erb
social_stream-base-2.1.0 app/views/conversations/show.html.erb
social_stream-2.0.4 base/app/views/conversations/show.html.erb
social_stream-base-2.0.4 app/views/conversations/show.html.erb
social_stream-2.0.3 base/app/views/conversations/show.html.erb
social_stream-base-2.0.3 app/views/conversations/show.html.erb
social_stream-2.0.2 base/app/views/conversations/show.html.erb
social_stream-base-2.0.2 app/views/conversations/show.html.erb
social_stream-2.0.1 base/app/views/conversations/show.html.erb
social_stream-base-2.0.1 app/views/conversations/show.html.erb
social_stream-2.0.0 base/app/views/conversations/show.html.erb
social_stream-base-2.0.0 app/views/conversations/show.html.erb
social_stream-2.0.0.beta3 base/app/views/conversations/show.html.erb