2013-08-04 10:59:25 +08:00
|
|
|
<!-- fq -->
|
2013-08-08 22:27:58 +08:00
|
|
|
<%= render_flash_messages %>
|
|
|
|
<table width="1000px" border="0" style="padding-left: 15px">
|
2013-08-10 16:09:07 +08:00
|
|
|
<td class="font_lighter" style="font-size: 18px;"><%= l(:label_bidding_project) %>(<%= @bidding_project.count%>)</td>
|
2013-08-09 16:26:26 +08:00
|
|
|
<% if User.current.logged? %>
|
2013-08-08 22:27:58 +08:00
|
|
|
<td>
|
|
|
|
<div class='icon icon-add'>
|
2013-08-09 16:26:26 +08:00
|
|
|
<%= toggle_link l(:button_bidding), 'put-bid-form' %>
|
|
|
|
</div></td>
|
|
|
|
<% end %>
|
2013-08-05 22:47:01 +08:00
|
|
|
</table>
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
<% @bidding_project.each do |b_project|%>
|
2013-08-01 20:47:00 +08:00
|
|
|
<table width="90%" border="0" align='center'>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="660px" border="0" align='center'>
|
|
|
|
<tr>
|
|
|
|
<td width="50px" valign="top" colspan="2" align="middle">
|
|
|
|
<div style="width: 50px; height: 50px;">
|
|
|
|
<%= link_to image_tag(url_to_avatar(b_project.project), :class => 'avatar3'), :class => "avatar" %>
|
|
|
|
</div></td>
|
|
|
|
<td width="60%">
|
|
|
|
<table width="100%">
|
|
|
|
<tr>
|
2013-08-11 08:51:20 +08:00
|
|
|
<td colspan="2" valign="top"><strong><%= link_to(b_project.project.name, project_path(b_project.project)) %></strong><a class="font_lighter"><%= l(:label_join_bidding)%></a></td>
|
2013-08-01 20:47:00 +08:00
|
|
|
</tr>
|
|
|
|
<tr></tr>
|
|
|
|
<tr>
|
|
|
|
<td><%= b_project.project.description %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a class="font_lighter"><%= b_project.created_at%></a></td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
<td width="30%">
|
|
|
|
<div class="bid-user-message" style="border-left: 1px solid rgb(225, 225, 225); margin-left: 20px; padding-left: 20px;">
|
2013-08-01 10:33:49 +08:00
|
|
|
<table width="100%">
|
|
|
|
<tr>
|
2013-08-11 08:51:20 +08:00
|
|
|
<td><%= l(:label_bidding_user) %><%= link_to(b_project.user.name, user_path(b_project.user)) %></td>
|
2013-08-01 10:33:49 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-08-11 08:51:20 +08:00
|
|
|
<td><%= l(:label_bidding_reason) %><%= b_project.description %></td>
|
2013-08-01 10:33:49 +08:00
|
|
|
</tr>
|
2013-08-01 20:47:00 +08:00
|
|
|
</table>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2013-08-01 10:33:49 +08:00
|
|
|
<% end %>
|