<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,4 +17,9 @@ class Message &lt; ActiveRecord::Base
   belongs_to :sender, :class_name =&gt; &quot;Profile&quot;
   belongs_to :receiver, :class_name =&gt; &quot;Profile&quot;
   validates_presence_of :body, :subject, :sender, :receiver
+  
+  
+  def unread?
+    !read
+  end
 end</diff>
      <filename>app/models/message.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,9 +30,9 @@ sent = params[:action]=='sent'
 	&lt;% list.each do |m|
 		mail_user = (@p == m.sender ? m.receiver : m.sender)%&gt;
 	&lt;tr&gt;
-		&lt;td &lt;%= &quot;class=\&quot;unread\&quot;&quot; if !m.read %&gt;&gt;&lt;%= link_to mail_user.f,  mail_user %&gt;&lt;/td&gt;
-		&lt;td &lt;%= &quot;class=\&quot;unread\&quot;&quot; if !m.read %&gt;&gt;&lt;%= time_ago_in_words m.created_at %&gt;&lt;/td&gt;
-		&lt;td &lt;%= &quot;class=\&quot;unread;\&quot;&quot; if !m.read %&gt;&gt;&lt;%= link_to h( m.subject), message_path(m) %&gt;&lt;/td&gt;
+		&lt;td&lt;%= ' class=&quot;unread&quot;' if m.unread? %&gt;&gt;&lt;%= link_to mail_user.f,  mail_user %&gt;&lt;/td&gt;
+		&lt;td&lt;%= ' class=&quot;unread&quot;' if m.unread? %&gt;&gt;&lt;%= time_ago_in_words m.created_at %&gt;&lt;/td&gt;
+		&lt;td&lt;%= ' class=&quot;unread&quot;' if m.unread? %&gt;&gt;&lt;%= link_to h( m.subject), message_path(m) %&gt;&lt;/td&gt;
 	&lt;/tr&gt;
 	&lt;% end %&gt;
 &lt;/table&gt;</diff>
      <filename>app/views/messages/_list.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -27,5 +27,5 @@ to_list ||= @to_list
 
 
 &lt;div id=&quot;new_reply&quot; class=&quot;hidden&quot;&gt;
-	&lt;%= render :partial =&gt; &quot;messages/form&quot; %&gt;
+	&lt;%= render :partial =&gt; &quot;messages/form&quot;, :locals =&gt; {:hide_header =&gt; true} %&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>app/views/messages/_message.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -134,7 +134,7 @@ h2 a			{text-transform: capitalize; font-weight: normal; font-size: 11px;}
 #messages th	{padding: 3px;}
 #messages th	{background: #971d4a; font-size: 10px;}
 #messages		{width: 100%;}
-#messages .unread {font-weight: bold;}
+.unread {font-weight: bold;}
 
 .blurp			{padding: 0 0 15px 0;}
 .blurp strong	{display: block; color: white;}</diff>
      <filename>public/stylesheets/application.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c206361feda360dce3f542f5cd3125b786b04991</id>
    </parent>
  </parents>
  <author>
    <name>steve</name>
    <email>steve@lesseverything.com</email>
  </author>
  <url>http://github.com/stevenbristol/lovd-by-less/commit/9ce5c6609b09a863d96c346733ce664e7ee1187a</url>
  <id>9ce5c6609b09a863d96c346733ce664e7ee1187a</id>
  <committed-date>2008-08-01T06:51:59-07:00</committed-date>
  <authored-date>2008-08-01T06:51:59-07:00</authored-date>
  <message>fixng up assimovt's changes just a bit</message>
  <tree>537d34af914ba0fbaf1f639ecdcbb4385b292b4a</tree>
  <committer>
    <name>steve</name>
    <email>steve@lesseverything.com</email>
  </committer>
</commit>
