codecombat/app/templates/admin/clas.jade

19 lines
471 B
Text
Raw Normal View History

2014-03-21 19:22:47 -04:00
extends /templates/base
block content
2016-03-05 10:08:27 -05:00
h1 CLAs
2014-03-21 19:22:47 -04:00
table.table.table-striped.table-bordered.table-condensed#clas
tbody
- var models = view.clas.models
- var models = _.uniq(models, true, function(model) { return model.get('githubUsername'); });
each cla in models
2014-03-21 19:22:47 -04:00
tr
td #{cla.get('name')}
if me.isAdmin()
td #{cla.get('email')}
td #{cla.get('githubUsername')}
td #{cla.get('created')}
2016-03-05 10:08:27 -05:00