2013-12-25 21:00:40 +08:00
|
|
|
<li style="display: block; padding-bottom: 4px;">
|
|
|
|
<span class="portrait">
|
|
|
|
<%= image_tag url_to_avatar(reply.user), :class => "avatar-3" %>
|
|
|
|
</span>
|
|
|
|
<span class="body">
|
2013-12-25 22:21:16 +08:00
|
|
|
<% id = 'project_respond_form_'+ reply.id.to_s %>
|
2013-12-25 21:00:40 +08:00
|
|
|
<span style="color: green;"><%= link_to reply.user.name, user_path(reply.user) %>: </span>
|
|
|
|
<span style="max-width: 80%; word-wrap: break-word;"> <%= reply.notes %></span>
|
|
|
|
<% ids = 'project_respond_form_'+ journal.id.to_s%>
|
|
|
|
|
|
|
|
<p style="margin-top: 4px;">
|
|
|
|
<span style="color: rgb(172, 174, 177)"><%= format_time reply.created_on %></span>
|
|
|
|
<span style="float: right;"><%= toggle_link l(:label_projects_feedback_respond), id, {:focus => 'project_respond'} %></span>
|
|
|
|
</p>
|
|
|
|
</span>
|
2013-12-25 22:21:16 +08:00
|
|
|
<div id='<%=id%>' style="display: none;">
|
2013-12-25 21:00:40 +08:00
|
|
|
<%= render :partial => "words/new_respond", :locals => {:journal => journal, :m_reply_id => m_reply_id} %>
|
|
|
|
</div>
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
</li>
|