Browse Source

Add link to status icon in problem set

pull/6/head
Menci 8 years ago
parent
commit
cc310047d4
  1. 8
      views/problem_set.ejs

8
views/problem_set.ejs

@ -41,9 +41,11 @@
'System Error': 'server'
}
%>
<span class="status <%= problem.judge_state.status.toLowerCase().split(' ').join('_') %>">
<i class="<%= icon[problem.judge_state.status] || 'remove' %> icon"></i>
</span>
<a href="<%= syzoj.utils.makeUrl(['judge_detail', problem.judge_state.id]) %>">
<span class="status <%= problem.judge_state.status.toLowerCase().split(' ').join('_') %>">
<i class="<%= icon[problem.judge_state.status] || 'remove' %> icon"></i>
</span>
</a>
<% } %>
</td>
<% } %>

Loading…
Cancel
Save