2014-04-12 17:53:09 -04:00
|
|
|
.row
|
2016-06-07 06:09:00 -04:00
|
|
|
if contributors
|
|
|
|
for contributor in contributors
|
|
|
|
.col-xs-6.col-md-3
|
|
|
|
.thumbnail
|
|
|
|
- var src = "/images/pages/contribute/" + contributorClassName + ".png";
|
|
|
|
- if(contributor.avatar)
|
|
|
|
- src = src.replace(contributorClassName, contributorClassName + "/" + contributor.avatar + "_small");
|
|
|
|
- if(contributor.id)
|
|
|
|
- src = "/db/user/" + contributor.id + "/avatar?s=100&fallback=" + src;
|
|
|
|
a(href=contributor.github ? "https://github.com/codecombat/codecombat/commits?author=" + contributor.github : null, class=contributor.github ? 'has-github' : '')
|
|
|
|
img.img-responsive(src=src, alt=contributor.name)
|
|
|
|
.caption
|
|
|
|
h4= contributor.name
|