Show More
Commit Description:
manage
Commit Description:
manage
References:
File last commit:
Show/Diff file:
Action:
app/views/report/problem_hof.html.haml
| 20 lines
| 580 B
| text/x-haml
| HamlLexer
|
r425 | ||||
/- if params[:id] | ||||
/ %h1 Tasks Hall of Fame | ||||
/ = link_to('[back to All-Time Hall of Fame]', action: 'problem_hof', id: nil ) | ||||
/- else | ||||
/ %h1 All-Time Hall of Fame | ||||
r874 | .row.mb-5 | |||
.col-md-6 | ||||
= render 'problem_chooser', {problems: @problems, selected_problem: @problem, target_url_method: :problem_hof_report_path} | ||||
r400 | ||||
r425 | - unless params[:id] | |||
Please select a problem. | ||||
- else | ||||
r874 | %h1.mt-3 | |||
r857 | [#{Problem.find(params[:id]).name}] #{Problem.find(params[:id]).full_name} | |||
- if @current_user.has_role?('ta') | ||||
%a{href:stat_problem_path(@problem)} (stat) | ||||
r560 | =render partial: 'task_hof' | |||
r400 | ||||