Sha256: 455158be0dcb7e4f8db395aa43fa26e9bd4eedeb59cd947c5ab19a12c11a2e96

Contents?: true

Size: 1 KB

Versions: 10

Compression:

Stored size: 1 KB

Contents

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

<% content_for :sidebar do %>
  <%= render :partial => 'home/sidebar' %>
<% end %>

<% toolbar :option => :messages %>

<% content_for :javascript do %>
$('.cont_conversation').validate({errorClass: "validation_error"});
<% unless @box.eql?'trash' %>
  $("#body").cleditor({
    width:493,
    controls:  "<%= t('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 %>

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

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
social_stream-0.11.7 base/app/views/conversations/show.html.erb
social_stream-base-0.9.21 app/views/conversations/show.html.erb
social_stream-0.11.6 base/app/views/conversations/show.html.erb
social_stream-base-0.9.20 app/views/conversations/show.html.erb
social_stream-0.11.5 base/app/views/conversations/show.html.erb
social_stream-0.11.4 base/app/views/conversations/show.html.erb
social_stream-0.11.3 base/app/views/conversations/show.html.erb
social_stream-base-0.9.19 app/views/conversations/show.html.erb
social_stream-0.11.2 base/app/views/conversations/show.html.erb
social_stream-base-0.9.18 app/views/conversations/show.html.erb