blob: 07e1116b8df2687a4b84d0bc0ae51f76861db1e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
template(name="importPopup")
if error.get
.warning {{_ error.get}}
form
p: label(for='import-textarea') {{_ getLabel}}
textarea#import-textarea.js-import-json(placeholder="{{_ 'import-json-placeholder'}}" autofocus)
input.primary.wide(type="submit" value="{{_ 'import'}}")
template(name="mapMembersPopup")
.map-members
p {{_ 'import-members-map'}}
.mapping-list
each members
.mapping
a.source
div.full-name
= fullName
div.username
| ({{username}})
.wekan
if wekan
+userAvatar(userId=wekan._id)
else
a.member.add-member.js-add-members
i.fa.fa-plus
form
input.primary.wide(type="submit" value="{{_ 'import'}}")
template(name="addMemberPopup")
template(name="mapMembersAddPopup")
.select-member
p Hello world
.js-map-member
+esInput(index="users")
ul.pop-over-list
+esEach(index="users")
li.item.js-member-item
a.name.js-select-member(title="{{profile.name}} ({{username}})" data-id="{{_id}}")
+userAvatar(userId=_id esSearch=true)
span.full-name
= profile.name
| (<span class="username">{{username}}</span>)
+ifEsIsSearching(index='users')
+spinner
+ifEsHasNoResults(index="users")
.manage-member-section
p.quiet {{_ 'no-results'}}
|