Show More
Commit Description:
add struggle report
Commit Description:
add struggle report
References:
File last commit:
Show/Diff file:
Action:
app/views/report/stuck.html.haml | 17 lines | 451 B | text/x-haml | HamlLexer |
%table.info
%thead
%tr.info-head
%th Problem
%th User
%th tries
%tbody
- @struggle.each do |s|
%tr
%td
= link_to "(#{s[:problem].name})", controller: :problems, action: :stat, id: s[:problem]
= s[:problem].full_name
%td
= link_to "(#{s[:user].login})", controller: :users, action: :profile, id: s[:user]
= s[:user].full_name
%td
= s[:tries]