Sha256: 71c1251b070aaae52cbd85a45b03b2744607359a2f65c159ab8e495be24ebf05

Contents?: true

Size: 908 Bytes

Versions: 15

Compression:

Stored size: 908 Bytes

Contents

<% content_for :title do %>
  <%=t('message.other')%>
<% end %>
<% content_for :sidebar do %>
  <%= render :partial => 'home/sidebar' %>
<% end %>

<% toolbar :option => :messages %>

<%= location(
  link_to(t('message.other'), conversations_path,:remote => true),
  link_to(t('message.new'), new_message_path, :remote => true)
) %>

<% content_for :javascript do %>

	var recipients = $("#_recipients").fcbkcomplete({
                json_url: "<%= contacts_path(:form => true, :format => :json) %>",
		cache: true,
		filter_hide: true,
		newel: false,
		height: 6
	});	
	
	$("#body").cleditor({
	  width:493,
	  controls:  "<%= t('cleditor.controls')%>"   
	});

	<% unless @recipient.nil? %>
		$("#_recipients").trigger("addItem",[{"title": "<%= truncate_name @recipient.name %>", "value": "<%= @recipient.id %>"}]);
	<% end %>

  $(".new_message").validate();

<% end %>

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

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
social_stream-0.11.1 base/app/views/messages/new.html.erb
social_stream-base-0.9.16 app/views/messages/new.html.erb
social_stream-0.11.0 base/app/views/messages/new.html.erb
social_stream-base-0.9.15 app/views/messages/new.html.erb
social_stream-0.10.4 base/app/views/messages/new.html.erb
social_stream-base-0.9.14 app/views/messages/new.html.erb
social_stream-0.10.3 base/app/views/messages/new.html.erb
social_stream-base-0.9.13 app/views/messages/new.html.erb
social_stream-0.10.2 base/app/views/messages/new.html.erb
social_stream-base-0.9.12 app/views/messages/new.html.erb
social_stream-0.10.1 base/app/views/messages/new.html.erb
social_stream-0.10.0 base/app/views/messages/new.html.erb
social_stream-base-0.9.11 app/views/messages/new.html.erb
social_stream-0.9.7 base/app/views/messages/new.html.erb
social_stream-base-0.9.10 app/views/messages/new.html.erb