2013-08-16 22:53:28 +08:00
|
|
|
<!-- fq -->
|
|
|
|
<h3><%= l(:label_user_response) %></h3>
|
2013-08-28 21:10:42 +08:00
|
|
|
<%= render_flash_messages %>
|
2013-08-16 22:53:28 +08:00
|
|
|
<% if @jour.size >0 %>
|
|
|
|
|
|
|
|
<% for journal in @jour%>
|
|
|
|
<table width="660px" border="0" align="center">
|
2013-08-28 21:10:42 +08:00
|
|
|
<tr>
|
2013-11-01 15:48:23 +08:00
|
|
|
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(journal.user), :class => "avatar") %></td>
|
2013-08-28 21:10:42 +08:00
|
|
|
<td>
|
|
|
|
<table width="580px" border="0">
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" valign="top"><strong> <%= link_to journal.user, user_path(journal.user)%></strong><span class="font_lighter"><%= l(:label_projects_feedback) %></span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" width="580px" >
|
|
|
|
<p class="font_description">
|
|
|
|
<%= textilizable journal.notes%>
|
|
|
|
</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align="left"><span class="font_lighter"> <%= format_time journal.created_on %></span></td>
|
|
|
|
<td width="200" align="right" class="a">
|
|
|
|
<% ids = 'project_respond_form_'+journal.id.to_s%>
|
|
|
|
<%= toggle_link l(:label_projects_feedback_respond), ids, {:focus => 'project_respond'} %> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan='2'>
|
|
|
|
<div id=<%= ids%> style="display: none">
|
|
|
|
<%= render :partial => 'new_respond', :locals => {:journal => journal} %>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
</tr>
|
2013-08-16 22:53:28 +08:00
|
|
|
</table>
|
|
|
|
<div class="line_under"></div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="pagination" style="float:left;">
|
|
|
|
<ul>
|
|
|
|
<%= pagination_links_full @feedback_pages %>
|
|
|
|
<ul>
|
|
|
|
</div>
|