- <%= l(:label_task_plural)%> |
+ <%= l(:label_task_plural)%>(<%= @homework_list.count%>) |
<%= text_field_tag 'student_id', params[:student_id], :size => 30 %>
diff --git a/app/views/bids/_list_projects.html.erb b/app/views/bids/_list_projects.html.erb
index 6947f8ceb..6663ab6e2 100644
--- a/app/views/bids/_list_projects.html.erb
+++ b/app/views/bids/_list_projects.html.erb
@@ -3,10 +3,7 @@
- <%= l(:label_task_plural)%> |
-
-
-
+ <%= l(:label_task_plural)%> |
<%= text_field_tag 'student_id', params[:student_id], :size => 30 %>
@@ -19,9 +16,6 @@
<% end %>
<% bidding_project.each do |b_project|%>
<% if b_project.project %>
-
-
-
@@ -170,7 +172,13 @@
|
<% else %>
- <%= l(:label_bidding_user) %>
+
+ <% if @bid.reward_type == 2%>
+ <%= l(:label_contest_user) %>
+ <% end %>
+ <% if @bid.reward_type == 1 %>
+ <%= l(:label_bidding_user) %>
+ <% end %>
<% unless b_project.user.nil? %>
<%= b_project.user.lastname %><%= b_project.user.firstname %>
<% end %>
@@ -185,7 +193,15 @@
| |
- <%= l(:label_bidding_reason) %><%= b_project.description %> |
+
+
+ <% if @bid.reward_type == 2%>
+ <%= l(:label_contest_reason) %>
+ <% end %>
+ <% if @bid.reward_type == 1 %>
+ <%= l(:label_bidding_reason) %>
+ <% end %>
+ <%= b_project.description %> |
<% end %>
diff --git a/app/views/bids/_project_homework.html.erb b/app/views/bids/_project_homework.html.erb
index 5013e2a8d..952867b94 100644
--- a/app/views/bids/_project_homework.html.erb
+++ b/app/views/bids/_project_homework.html.erb
@@ -30,7 +30,7 @@
<%= b_project.project.description %> |
|