Show More
Commit Description:
- add front page toggle to announcement...
Commit Description:
- add front page toggle to announcement
- cosmetic change in some pages / main
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.haml
| 14 lines
| 571 B
| text/x-haml
| HamlLexer
|
r565 | %tr | |||
%td | ||||
= "#{problem.name}" | ||||
%td | ||||
= "#{problem.full_name}" | ||||
= link_to_description_if_any "[#{t 'main.problem_desc'}] <span class='glyphicon glyphicon-file'></span>".html_safe, problem | ||||
r567 | %td | |||
r565 | = @prob_submissions[problem.id][:count] | |||
r567 | = link_to "[#{t 'main.submissions_link'}]", main_submission_path(problem.id) | |||
r565 | %td | |||
= render :partial => 'submission_short', | ||||
:locals => {:submission => @prob_submissions[problem.id][:submission], :problem_name => problem.name } | ||||
r567 | %td | |||
= link_to 'Edit', direct_edit_path(problem.id), class: 'btn btn-success' | ||||