<% if(message.has_read){ %>
	<div class='cell' message_id='<%= message._id %>'>
<% }else{ %>
	<div class='cell message' message_id='<%= message._id %>'>
<% } %>
	<% if(message.type == 'reply'){ %>
		<span>
			<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a> 
			回复了你的话题 
			<div class='title_wrap'>
			<a href="/topic/<%= message.topic._id %>" target='_blank'><%= message.topic.title %></a>
			</div>
		</span>
	<% } %>
	<% if(message.type == 'reply2'){ %>
		<span>
			<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a> 
			在话题 
			<div class='title_wrap'>
				<a href="/topic/<%= message.topic._id %>" target='_blank'><%= message.topic.title %></a>
			</div>
			中回复了你的回复
		</span>
	<% } %>
	<% if(message.type == 'follow'){ %>
	<span>
		<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a> 
		关注了你 
	</span>
	<% } %>
	<% if (message.type == 'at'){ %>
		<span>
			<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a>
			在话题
			<div class='title_wrap'>
				<a href="/topic/<%= message.topic._id %>" target='_blank'><%= message.topic.title %></a>
			</div>
			中@了你
		</span>
	<% } %>


	<% if (message.has_read) { %>
	<span class='fr'><img src='<%- config.site_static_host %>/images/checkmark_icon&16.png' title='消息已读'/></span>
	<% } else { %>
	<span class='fr marked_icon' style='display:none'><img src='<%- config.site_static_host %>/images/checkmark_icon&16.png' title='消息已读'/></span>
	<a class='fr mark_read_btn' href='javascript:void(0)' style='display:none;'><img src='<%- config.site_static_host %>/images/checkmark_icon&16.png' title='标记为已读'/></a>
	<% } %>
</div>
