From 980f8273dd4c1fde6e648fe1c3ac73dcb2e16f9a Mon Sep 17 00:00:00 2001 From: Jonas Sulzer Date: Sat, 9 Nov 2019 14:40:50 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20put=20composer=20atta?= =?UTF-8?q?chment=20buttons=20into=20three=20dot=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Sulzer --- src/components/Composer.vue | 29 +++++++++++++++++++------- src/components/ComposerAttachments.vue | 25 +++++++++++----------- 2 files changed, 35 insertions(+), 19 deletions(-) diff --git a/src/components/Composer.vue b/src/components/Composer.vue index 44c12eea18..1b2f25af18 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -123,17 +123,26 @@ >
- +

{{ t('mail', 'Saving draft …') }} {{ t('mail', 'Draft saved') }}

- {{ t('mail', 'Message options') }} - {{ - t('mail', 'Plain text') - }} + {{ + t('mail', 'Upload attachment') + }} + {{ + t('mail', 'Add attachment from Files') + }} + {{ t('mail', 'Enable text formatting') }}
+
  • +
    +
    {{ uploading ? t('mail', 'Uploading {percent}% …', {percent: uploadProgress}) : '' }}
    +
  • - - +
    @@ -177,4 +170,12 @@ button { border: 1px solid #e9322d; background: #e9322d; } + +.attachments-upload-progress { + display: flex; +} + +.attachments-upload-progress > div { + padding-left: 3px; +}