Sending messages is allowed; PM related texts moved

This commit is contained in:
user
2018-04-30 00:58:08 +03:00
parent 770285f10d
commit e60177f14a
3 changed files with 9 additions and 20 deletions

View File

@@ -22,7 +22,7 @@
// .col-8.to-form(v-if='displayCreate')
// strong To:
// b-form-input
.row(v-if="!this.user.inbox.optOut")
.row
.col-4.sidebar
.search-section
b-form-input(:placeholder="$t('search')", v-model='search')
@@ -51,14 +51,6 @@
.new-message-row(v-if='selectedConversation.key')
textarea(v-model='newMessage')
button.btn.btn-secondary(@click='sendPrivateMessage()') Send
.row(v-else)
.col-12
.caption-disabled
.svg-icon.envelope(v-html="icons.messageIcon")
h3 {{$t('disabledPMCaptionTitle')}}
p.text-center {{$t('disabledPMCaptionLine1')}}
p.text-center {{$t('disabledPMCaptionLine2')}}
button.btn.btn-primary(@click="toggleOpt()") {{$t('PMEnable')}}
</template>
<style lang="scss" scoped>

View File

@@ -289,16 +289,6 @@
"messages": "Messages",
"emptyMessagesLine1": "You don't have any messages",
"emptyMessagesLine2": "Send a message to start a conversation!",
"PMEnable": "Enable",
"PMEnableFull": "Enable private messages",
"PMDisable": "Disable",
"PMDisableFull": "Disable private messages",
"PMDisableConfirmation": "Are you sure you want to disable private messages? No one will able to send you messages, though you can enable private messages at any time.",
"PMEnabledOptPopoverText": "When private messages are disabled, no one can send them to you, though you can enable this option at any time.",
"PMDisabledOptPopoverText": "Enable private messages so you can chat again!",
"disabledPMCaptionTitle": "Private messages are disabled",
"disabledPMCaptionLine1": "Private messages are disabled and no one can send them to you.",
"disabledPMCaptionLine2": "You can enable this option at any time.",
"userSentMessage": "<span class=\"notification-bold\"><%= user %></span> sent you a message",
"letsgo": "Let's Go!",
"selected": "Selected",

View File

@@ -132,7 +132,14 @@
"possessiveParty": "<%= name %>'s Party",
"clearAll": "Delete All Messages",
"confirmDeleteAllMessages": "Are you sure you want to delete all messages in your inbox? Other users will still see messages you have sent to them.",
"optOutPopover": "Don't like private messages? Click to completely opt out",
"PMEnable": "Enable",
"PMEnableFull": "Enable private messages",
"PMDisable": "Disable",
"PMDisableFull": "Disable private messages",
"PMDisableConfirmation": "Are you sure you want to disable private messages? You still will be able to send messages, but no one will be able to send them to you.",
"PMEnabledOptPopoverText": "When private messages are disabled, you still can send messages, but no one can send them to you.",
"PMDisabledOptPopoverText": "Enable this option to be able to receive messages.",
"disabledPMCaptionTitle": "Private messages are disabled. You still can send messages, but no one can send them to you.",
"block": "Block",
"unblock": "Un-block",
"pm-reply": "Send a reply",