|
|
@@ -2,13 +2,13 @@
|
|
2
|
2
|
main.view--chat
|
|
3
|
3
|
header.mb6(v-if='profile && grouping')
|
|
4
|
4
|
h3 chatting with:
|
|
5
|
|
- span {{ target.profile_id }} |
|
|
6
|
|
- span(v-if="grouping.revealedFromNotification.length")
|
|
7
|
|
- span(v-for="revealed in grouping.revealedFromNotification")
|
|
8
|
|
- span(v-if="revealed.profile_id === target.profile_id")
|
|
9
|
|
- span {{ revealed[revealed.tag_description] }} |
|
|
|
5
|
+ span {{ target.profile_id }} |
|
|
|
6
|
+ span(v-if='grouping.revealedFromNotification.length')
|
|
|
7
|
+ span(v-for='revealed in grouping.revealedFromNotification')
|
|
|
8
|
+ span(v-if='revealed.profile_id === target.profile_id')
|
|
|
9
|
+ span {{ revealed[revealed.tag_description] }} |
|
|
10
|
10
|
span(v-else)
|
|
11
|
|
- span {{ grouping.profile.user_name }} | {{ grouping.profile.user_email }}
|
|
|
11
|
+ span {{ grouping.profile.user_name }} | {{ grouping.profile.user_email }}
|
|
12
|
12
|
h3 logged in as:
|
|
13
|
13
|
p {{ profile.id }} | {{ profile._profile.user_name }} | {{ profile._profile.user_email }}
|
|
14
|
14
|
//- p subscriptions: {{ profile.chatter.subscriptions }}
|
|
|
@@ -20,18 +20,22 @@ main.view--chat
|
|
20
|
20
|
button(@click='reveal(8)') reveal my email
|
|
21
|
21
|
// TODO: Remove later, only for testing
|
|
22
|
22
|
button(@click='checkData()') check data
|
|
23
|
|
- span(v-if="grouping.revealed[profile.id.value]")
|
|
|
23
|
+ span(v-if='grouping.revealed[profile.id.value]')
|
|
24
|
24
|
p you revealed:
|
|
25
|
|
- ul(v-for="reveal in [...new Set(grouping.revealed[profile.id.value])]")
|
|
|
25
|
+ ul(
|
|
|
26
|
+ v-for='reveal in [...new Set(grouping.revealed[profile.id.value])]'
|
|
|
27
|
+ )
|
|
26
|
28
|
li {{ reveal.description }}
|
|
27
|
|
- span(v-if="grouping.revealed[target.profile_id]")
|
|
|
29
|
+ span(v-if='grouping.revealed[target.profile_id]')
|
|
28
|
30
|
p they revealed:
|
|
29
|
|
- ul(v-for="reveal in grouping.revealed[target.profile_id]")
|
|
|
31
|
+ ul(v-for='reveal in grouping.revealed[target.profile_id]')
|
|
30
|
32
|
li {{ reveal.description }}: {{ target[reveal.description] }}
|
|
31
|
|
- span(v-if="grouping.revealedFromNotification.length")
|
|
|
33
|
+ span(v-if='grouping.revealedFromNotification.length')
|
|
32
|
34
|
p recently revealed:
|
|
33
|
|
- ul(v-for="revealed in grouping.revealedFromNotification")
|
|
34
|
|
- li(v-if="revealed[revealed.tag_description] !== profile._profile[revealed.tag_description]") {{ revealed.tag_description }}: {{ revealed[revealed.tag_description] }}
|
|
|
35
|
+ ul(v-for='revealed in grouping.revealedFromNotification')
|
|
|
36
|
+ li(
|
|
|
37
|
+ v-if='revealed[revealed.tag_description] !== profile._profile[revealed.tag_description]'
|
|
|
38
|
+ ) {{ revealed.tag_description }}: {{ revealed[revealed.tag_description] }}
|
|
35
|
39
|
|
|
36
|
40
|
article
|
|
37
|
41
|
template(v-if='isLoading')
|