Show More
Commit Description:
MERGE changeset 306:307 from branch ytopc08-2 that fixes migration bug...
Commit Description:
MERGE changeset 306:307 from branch ytopc08-2 that fixes migration bug
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@308 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.erb
| 18 lines
| 596 B
| text/plain
| TextLexer
|
|
r50 | <tr class="info-<%= (problem_counter%2==0) ? "even" : "odd" %>"> | ||
|
r57 | <td> | ||
|
r140 | <%= "#{problem_counter+1}" %> | ||
|
r50 | </td> | ||
|
r57 | <td> | ||
|
r50 | <%= "#{problem.full_name} (#{problem.name})" %> | ||
<%= link_to '[desc]', problem.url, :popup => true if (problem.url!=nil) and (problem.url!='') %> | ||||
</td> | ||||
|
r57 | <td align="center"> | ||
|
r143 | <%= @prob_submissions[problem_counter][:count] %> | ||
|
r50 | </td> | ||
|
r57 | <td> | ||
|
r51 | <%= render :partial => 'submission_short', | ||
|
r70 | :locals => { | ||
|
r143 | :submission => @prob_submissions[problem_counter][:submission], | ||
|
r70 | :problem_name => problem.name }%> | ||
|
r50 | </td> | ||
</tr> | ||||