Show More
Commit Description:
shows problem descriptions on first page
Commit Description:
shows problem descriptions on first page
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem_title.html.haml
| 8 lines
| 480 B
| text/x-haml
| HamlLexer
|
|
r215 | .problem-bar{:id => "problem-bar-#{problem.id}"} | ||
%a{:href => "#", :onclick => "$$('.problem-panel').each(function(elt) {elt.hide();}); $('problem-panel-#{problem.id}').show(); $('problem-panel-filler').hide(); return false;"} | ||||
%span{:class => 'problem-title'} | ||||
= "#{problem.full_name} (#{problem.name})" | ||||
- if @prob_submissions[problem_title_counter][:count] > 0 | ||||
= "[#{@prob_submissions[problem_title_counter][:count]} trials(s)]" | ||||
- else | ||||
[No trials] | ||||