show core team status in user profile

This commit is contained in:
Ivan Sebastian
2016-10-28 15:18:18 +07:00
parent 9d5f554f5e
commit a455ec0dc1
2 changed files with 13 additions and 0 deletions

View File

@ -206,6 +206,15 @@
"type": "string",
"description": "An IETF language tag",
"default": "en"
},
"badges": {
"type": {
"coreTeam": {
"type": "array",
"default": []
}
},
"default": {}
}
},
"validations": [],

View File

@ -56,6 +56,10 @@ block content
if isBackEndCert
.button-spacer
a.btn.btn-primary.btn-block(href='/' + username + '/back-end-certification') View My Back End Development Certification
.row
.col-xs-12.text-center
if (badges.coreTeam && badges.coreTeam.length)
h4 Core Team #{badges.coreTeam.reverse().join(', ')}
.spacer
.col-md-12