mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
72485eb5a9
Couldn't figure out how to handle "Pending", "Accepted", etc.
30 lines
1 KiB
Text
30 lines
1 KiB
Text
.btn-group(data-toggle="buttons").status-buttons
|
|
label.btn.btn-default.pending
|
|
input(type="radio", name="status", value="pending")
|
|
| Pending
|
|
label.btn.btn-default.accepted
|
|
input(type="radio", name="status", value="accepted")
|
|
| Accepted
|
|
label.btn.btn-default.rejected
|
|
input(type="radio", name="status", value="rejected")
|
|
| Rejected
|
|
label.btn.btn-default.withdrawn
|
|
input(type="radio", name="status", value="withdrawn")
|
|
| Withdrawn
|
|
|
|
if patches.loading
|
|
p(data-i18n="common.loading") Loading...
|
|
else
|
|
table.table.table-condensed.table-bordered
|
|
tr
|
|
th(data-i18n="general.submitter") Submitter
|
|
th(data-i18n="general.submitted") Submitted
|
|
th(data-i18n="general.commit_msg") Commit Message
|
|
th(data-i18n="general.review") Review
|
|
for patch in patches
|
|
tr
|
|
td= patch.userName
|
|
td= moment(patch.get('created')).format('llll')
|
|
td= patch.get('commitMessage')
|
|
td
|
|
span.glyphicon.glyphicon-wrench(data-patch-id=patch.id).patch-icon
|