60 lines
2.0 KiB
Plaintext
60 lines
2.0 KiB
Plaintext
<!-- fq -->
|
|
<h3><%= l(:label_user_response) %></h3>
|
|
<%= render_flash_messages %>
|
|
|
|
<%= 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>
|
|
<td align="right"> <%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn" %></td>
|
|
</tr>
|
|
</table>
|
|
<% end %>
|
|
|
|
<% if @jour.size >0 %>
|
|
|
|
<% for journal in @jour%>
|
|
<table width="660px" border="0" align="center">
|
|
<tr>
|
|
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(journal.user), :class => "avatar") %></td>
|
|
<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"> <%= l :label_update_time %>: <%= 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>
|
|
</table>
|
|
<div class="line_under"></div>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<div class="pagination" style="float:left;">
|
|
<ul>
|
|
<%= pagination_links_full @feedback_pages %>
|
|
<ul>
|
|
</div> |