codecombat/app/templates/editor/patches.jade

28 lines
1 KiB
Text
Raw Normal View History

2014-04-11 17:19:17 -04:00
.btn-group(data-toggle="buttons").status-buttons
label.btn.btn-default.pending
2015-01-13 16:38:34 -05:00
input(type="radio", name="status", value="pending")
2015-01-13 16:45:52 -05:00
span(data-i18n="general.pending") Pending
2014-04-11 17:19:17 -04:00
label.btn.btn-default.accepted
2015-01-13 16:38:34 -05:00
input(type="radio", name="status", value="accepted")
2015-01-13 16:45:52 -05:00
span(data-i18n="general.accepted") Accepted
2014-04-11 17:19:17 -04:00
label.btn.btn-default.rejected
2015-01-13 16:38:34 -05:00
input(type="radio", name="status", value="rejected")
2015-01-13 16:45:52 -05:00
span(data-i18n="general.rejected") Rejected
2014-04-11 17:19:17 -04:00
label.btn.btn-default.withdrawn
2015-01-13 16:38:34 -05:00
input(type="radio", name="status", value="withdrawn")
2015-01-13 16:45:52 -05:00
span(data-i18n="general.withdrawn") Withdrawn
2014-04-11 17:19:17 -04:00
if patches.loading
p(data-i18n="common.loading") Loading...
2014-04-11 17:19:17 -04:00
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
2014-04-11 17:19:17 -04:00
for patch in patches
tr.patch-row(data-patch-id=patch.id)
2014-04-11 17:19:17 -04:00
td= patch.userName
td= moment(patch.get('created')).format('llll')
td= patch.get('commitMessage')