Description:
fix link
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r794:67f10729d077 - - 1 file changed: 4 inserted, 4 deleted
@@ -76,7 +76,7 | |||
|
76 | 76 | - user = User.where("login = ?",id).first |
|
77 | 77 | %tr |
|
78 | 78 | //%td= link_to id, controller: :user, action: :profile, id: id |
|
79 |
- %td= link_to id, |
|
|
79 | + %td= link_to id, stat_user_path(user.id) | |
|
80 | 80 | %td= user.full_name |
|
81 | 81 | |
|
82 | 82 | //%table.tablesorter-cafe#my_table |
@@ -96,12 +96,12 | |||
|
96 | 96 | %tr{class: cycle('info-even','info-odd')} |
|
97 | 97 | %td= l[:submitted_at].strftime "%Y.%b.%d %H:%M:%S" |
|
98 | 98 | //%td= l[:id] == -1 ? "LOGIN" : link_to("submit #{l[:id]}", controller: 'graders' , action: 'submission', id: l[:id]) |
|
99 |
- %td= l[:id] == -1 ? "LOGIN" : link_to( " |
|
|
99 | + %td= l[:id] == -1 ? "LOGIN" : link_to( "##{l[:id]}", submission_path(l[:id])) | |
|
100 | 100 | %td= l[:ip_address] |
|
101 | 101 | //%td= link_to l[:login], controller: 'users', action: 'profile', id: l[:id] |
|
102 |
- %td= link_to( l[:login], |
|
|
102 | + %td= link_to( l[:login], stat_user_path(l.user_id)) | |
|
103 | 103 | %td= l[:full_name] |
|
104 | 104 | %td= l[:id] == -1 ? "" : l.problem.name |
|
105 | - %td= l[:id] == -1 ? "" : l.points * 100/ l.problem.full_score | |
|
105 | + %td.text-right= l[:id] == -1 ? "" : l.points * 100/ l.problem.full_score | |
|
106 | 106 | |
|
107 | 107 |
You need to be logged in to leave comments.
Login now