Description:
main page show problem code separately
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r447:049c108d9256 - - 2 files changed: 8 inserted, 3 deleted
@@ -1,12 +1,15 | |||
|
1 | 1 | <tr class="info-<%= (problem_counter%2==0) ? "even" : "odd" %>"> |
|
2 | 2 | <td> |
|
3 | 3 | <%= "#{problem_counter+1}" %> |
|
4 | 4 | </td> |
|
5 | 5 | <td> |
|
6 |
- <%= " |
|
|
6 | + <%= "#{problem.name}"%> | |
|
7 | + </td> | |
|
8 | + <td> | |
|
9 | + <%= "#{problem.full_name}" %> | |
|
7 | 10 | <%= link_to_description_if_any "[#{t 'main.problem_desc'}]", problem %> |
|
8 | 11 | </td> |
|
9 | 12 | <td align="center"> |
|
10 | 13 | <%= @prob_submissions[problem.id][:count] %> |
|
11 | 14 | </td> |
|
12 | 15 | <td> |
@@ -22,25 +22,27 | |||
|
22 | 22 | |
|
23 | 23 | - if GraderConfiguration.show_tasks_to?(@user) |
|
24 | 24 | - if not GraderConfiguration.multicontests? |
|
25 | 25 | %table.info |
|
26 | 26 | %tr.info-head |
|
27 | 27 | %th |
|
28 | - %th Tasks | |
|
28 | + %th Tasks name | |
|
29 | + %th Full name | |
|
29 | 30 | %th # of sub(s) |
|
30 | 31 | %th Results |
|
31 | 32 | = render :partial => 'problem', :collection => @problems |
|
32 | 33 | - else |
|
33 | 34 | - @contest_problems.each do |cp| |
|
34 | 35 | - if cp[:problems].length > 0 |
|
35 | 36 | %h2{:class =>'contest-title'} |
|
36 | 37 | = "#{cp[:contest] ? cp[:contest].title : 'Public problems'}" |
|
37 | 38 | %table.info |
|
38 | 39 | %tr.info-head |
|
39 | 40 | %th |
|
40 | - %th Tasks | |
|
41 | + %th Tasks name | |
|
42 | + %th Full name | |
|
41 | 43 | %th # of sub(s) |
|
42 | 44 | %th Results |
|
43 | 45 | = render :partial => 'problem', :collection => cp[:problems] |
|
44 | 46 | |
|
45 | 47 | |
|
46 | 48 | %hr/ |
You need to be logged in to leave comments.
Login now