git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 271cbdd2add56b26f6e997f982fb76db39f59d06

Whoops, fix distance warnings around the wrong way, derp!

Matt McKegg committed on 10/18/2017, 10:22:46 AM
Parent: 528c7d732181d5b5524373c1b35cd5dbde446f1f

Files changed

modules/page/html/render/profile.jschanged
modules/profile/html/preview.jschanged
modules/page/html/render/profile.jsView
@@ -144,18 +144,18 @@
144144 '⚠️ ', computed(['This person is blocked by %s of your friends.', contact.blockingFriendsCount], plural)
145145 ])
146146 ])),
147147
148- when(contact.noOutgoing,
148+ when(contact.noIncoming,
149149 h('section -distanceWarning', [
150150 h('h1', i18n(`You don't follow anyone who follows this person`)),
151151 h('p', i18n('You might not be seeing their latest messages. You could try joining a pub that they are a member of.')),
152- when(contact.hasIncoming,
152+ when(contact.hasOutgoing,
153153 h('p', i18n('However, since they follow someone that follows you, they should be able to see your posts.')),
154154 h('p', i18n(`They might not be able to see your posts either.`))
155155 )
156156 ]),
157- when(contact.noIncoming,
157+ when(contact.noOutgoing,
158158 h('section -distanceWarning', [
159159 h('h1', i18n('This person does not follow anyone that follows you')),
160160 h('p', i18n('They might not receive your private messages or replies. You could try joining a pub that they are a member of.')),
161161 h('p', i18n('However, since you follow someone that follows them, you should be able to see their latest posts.'))
modules/profile/html/preview.jsView
@@ -58,13 +58,13 @@
5858 }, [
5959 '⚠️ ', computed(['This person is blocked by %s of your friends.', contact.blockingFriendsCount], plural)
6060 ])
6161 ]),
62- when(contact.noOutgoing,
62+ when(contact.noIncoming,
6363 h('section -distanceWarning', [
6464 '⚠️ ', i18n(`You don't follow anyone who follows this person`)
6565 ]),
66- when(contact.noIncoming,
66+ when(contact.noOutgoing,
6767 h('section -distanceWarning', [
6868 '⚠️ ', i18n('This person does not follow anyone that follows you')
6969 ]),
7070 when(contact.mutualFriendsCount,

Built with git-ssb-web