codecombat/app/templates/editor/patches.jade

31 lines
1.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-06 16:22:20 -05:00
input(type="radio", name="status", value="pending", data-i18n="general.pending")
2014-04-11 17:19:17 -04:00
| Pending
label.btn.btn-default.accepted
2015-01-06 16:22:20 -05:00
input(type="radio", name="status", value="accepted", data-i18n="general.accepted")
2014-04-11 17:19:17 -04:00
| Accepted
label.btn.btn-default.rejected
2015-01-06 16:22:20 -05:00
input(type="radio", name="status", value="rejected", data-i18n="general.rejected")
2014-04-11 17:19:17 -04:00
| Rejected
label.btn.btn-default.withdrawn
2015-01-06 16:22:20 -05:00
input(type="radio", name="status", value="withdrawn", data-i18n="general.withdrawn")
2014-04-11 17:19:17 -04:00
| Withdrawn
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
th(data-i18n="general.review") Review
2014-04-11 17:19:17 -04:00
for patch in patches
tr
td= patch.userName
td= moment(patch.get('created')).format('llll')
td= patch.get('commitMessage')
2014-04-12 00:11:52 -04:00
td
span.glyphicon.glyphicon-wrench(data-patch-id=patch.id).patch-icon