codecombat/app/templates/admin/user-code-problems.jade
Matt Lott 7c21d5921e Update query for user code problems view
So it doesn’t explode in production.
2014-10-26 10:50:30 -07:00

36 lines
977 B
Text

extends /templates/base
block content
h1(data-i18n="admin.ucp_title") User Code Problems
if fetchingData
h3 Fetching data...
else
table.table.table-striped.table-bordered.table-condensed#users
thead(style='font-weight:bold')
tr
td language
//- td errType
//- td errLevel
//- td errId
td levelID
td codeSnippet
td errHint
td errMessage
//- td code
td created
tbody
each problem in userCodeProblems
tr
td #{problem.language}
//- td #{problem.errType}
//- td #{problem.errLevel}
//- td #{problem.errId}
td #{problem.levelID}
td #{problem.codeSnippet}
td #{problem.errHint}
td #{problem.errMessage}
//- td #{problem.code}
td #{new Date(problem.created).toLocaleString()}