Show More
Commit Description:
[web] fix time.new, time.now to use gmtime...
Commit Description:
[web] fix time.new, time.now to use gmtime
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@249 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.erb
| 18 lines
| 598 B
| text/plain
| TextLexer
|
|
r50 | <tr class="info-<%= (problem_counter%2==0) ? "even" : "odd" %>"> | ||
|
r57 | <td> | ||
|
r50 | <%= "#{problem_counter + 1}" %> | ||
</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"> | ||
|
r50 | <%= @prob_submissions[problem_counter][:count] %> | ||
</td> | ||||
|
r57 | <td> | ||
|
r51 | <%= render :partial => 'submission_short', | ||
|
r70 | :locals => { | ||
:submission => @prob_submissions[problem_counter][:submission], | ||||
:problem_name => problem.name }%> | ||||
|
r50 | </td> | ||
</tr> | ||||