2016-10-11 02:46:59 -04:00
|
|
|
define(['cardBuilder'], function (cardBuilder) {
|
2016-10-02 23:49:52 -04:00
|
|
|
'use strict';
|
2016-07-28 22:42:42 -04:00
|
|
|
|
|
|
|
function buildPeopleCards(items, options) {
|
|
|
|
|
2016-10-11 02:46:59 -04:00
|
|
|
options = Object.assign(options || {}, {
|
|
|
|
cardLayout: true,
|
|
|
|
centerText: true,
|
|
|
|
showTitle: true,
|
|
|
|
cardFooterAside: 'none',
|
|
|
|
showPersonRoleOrType: true,
|
|
|
|
cardCssClass: 'personCard'
|
|
|
|
});
|
|
|
|
cardBuilder.buildCards(items, options);
|
2016-07-28 22:42:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
return {
|
|
|
|
buildPeopleCards: buildPeopleCards
|
|
|
|
};
|
|
|
|
|
|
|
|
});
|