Merge pull request #11425 from ivantedja/feature/core-team-status

show core team status in user profile
This commit is contained in:
Berkeley Martinez
2016-11-01 13:00:16 -07:00
committed by GitHub
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