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>