has_been_read ? "" : "class=\"unread\"" ?>>
if ($show_from) { ?>
= $html->link_to(h($message->author->username),
array("controller" => "users", "action" => "show",
"id" => $message->author->username)); ?> |
} ?>
if ($show_to) { ?>
= $html->link_to(h($message->recipient->username),
array("controller" => "users", "action" => "show",
"id" => $message->recipient->username)); ?> |
} ?>
= $html->link_to(h($message->subject),
array("controller" => "messages", "action" => "show",
"id" => $message->random_hash)); ?> |
= h($message->created_at->format("Y-m-d H:i:s")); ?> |
} ?>