Simplify an internal data model used in the importer

We used to save the whole user document in a internal data structure while we
only needed the userId.
This commit is contained in:
Maxime Quandalle 2016-01-31 15:13:03 +01:00
parent a13fad749e
commit b5ebbd2bf9
2 changed files with 14 additions and 15 deletions

View file

@ -23,14 +23,14 @@ template(name="importMapMembers")
p {{_ 'import-members-map'}}
.mapping-list
each members
a.mapping-item.js-select-member(class="{{#if wekan}}filled{{/if}}")
a.mapping-item.js-select-member(class="{{#if wekanId}}filled{{/if}}")
.profile-source
.full-name= fullName
.username
| ({{username}})
.wekan
if wekan
+userAvatar(userId=wekan._id)
if wekanId
+userAvatar(userId=wekanId)
else
a.member.add-member
i.fa.fa-plus