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-11-07 11:02:32 +08:00
|
|
|
|
|
|
|
<%= form_for('new_form', :method => :post,
|
|
|
|
:url => {:controller => 'words', :action => 'leave_project_message'}) do |f|%>
|
|
|
|
|
|
|
|
<table border="0" width="525px" align="center" >
|
|
|
|
<tr>
|
|
|
|
<td><%= f.text_area 'project_message', :rows => 3, :cols => 65, :placeholder => "#{l(:label_welcome_my_respond)}", :style => "resize: none;", :class => 'noline'%></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" width="525px" align="center">
|
|
|
|
<tr>
|
2013-11-08 10:53:18 +08:00
|
|
|
<td align="right"> <%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn" %></td>
|
2013-11-07 11:02:32 +08:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<% end %>
|
|
|
|
|
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>
|
2013-11-07 17:21:32 +08:00
|
|
|
<td align="left"><span class="font_lighter"> <%= l :label_update_time %>: <%= format_time journal.created_on %></span></td>
|
2013-08-28 21:10:42 +08:00
|
|
|
<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>
|