|
|
|
@ -31,11 +31,19 @@
|
|
|
|
|
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(journal.user), :class => "avatar") %></td>
|
|
|
|
|
<td><table width="580px" border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<% if @bid.reward_type == 3 %>
|
|
|
|
|
<td colspan="2" valign="top"><strong> <%=link_to journal.user, user_path(journal.user)%></strong> <span class="font_lighter"><%= l(:label_question_requirement) %></span></td>
|
|
|
|
|
<% else %>
|
|
|
|
|
<td colspan="2" valign="top"><strong> <%=link_to journal.user, user_path(journal.user)%></strong> <span class="font_lighter"><%= l(:label_respond_requirement) %></span></td>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% label = '';
|
|
|
|
|
case @bid.reward_type
|
|
|
|
|
when 1
|
|
|
|
|
label = l(:label_respond_requirement)
|
|
|
|
|
when 2
|
|
|
|
|
label = l(:label_contest_requirement)
|
|
|
|
|
when 3
|
|
|
|
|
label = l(:label_question_requirement)
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
%>
|
|
|
|
|
<td colspan="2" valign="top"><strong> <%=link_to journal.user, user_path(journal.user)%></strong> <span class="font_lighter"><%= label %></span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|