Browse Source

Maintenance: Desktop view - FieldDateTimeInput gets cropped if you shrink...

Benjamin Scharf 2 months ago
parent
commit
fc41848447

+ 4 - 4
app/frontend/apps/desktop/components/Form/fields/FieldDate/FieldDateTimeInput.vue

@@ -294,12 +294,12 @@ const closed = () => {
   --dp-month-year-row-height: theme(size.7);
   --dp-month-year-row-button-size: theme(size.7);
   --dp-button-icon-height: theme(height.4);
-  --dp-cell-size: theme(size.8);
+  --dp-cell-size: theme(size.6);
   --dp-cell-padding: theme(padding.2);
   --dp-common-padding: theme(padding.2);
   --dp-input-icon-padding: theme(padding.2);
   --dp-input-padding: var(--dp-common-padding);
-  --dp-menu-min-width: 260px;
+  --dp-menu-min-width: 210px;
   --dp-action-buttons-padding: theme(padding.3);
   --dp-row-margin: theme(margin.2) theme(margin.0);
   --dp-calendar-header-cell-padding: theme(padding.2);
@@ -436,11 +436,11 @@ const closed = () => {
     /* NB: Fix orientation of the popover arrow in RTL locales. */
     &__arrow {
       &_top:where([dir='rtl'], [dir='rtl'] *) {
-        transform: translate(-50%, -50%) rotate(45deg);
+        transform: translate(-50%, -50%) rotate(-45deg);
       }
 
       &_bottom:where([dir='rtl'], [dir='rtl'] *) {
-        transform: translate(-50%, 50%) rotate(-45deg);
+        transform: translate(-50%, 50%) rotate(45deg);
       }
     }
 

+ 42 - 41
i18n/zammad.pot

@@ -1174,7 +1174,7 @@ msgstr ""
 msgid "Admin"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:449
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:455
 msgid "Admin Consent"
 msgstr ""
 
@@ -1484,8 +1484,8 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/facebook.coffee:186
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:429
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:442
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:357
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:448
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:369
 #: app/assets/javascripts/app/controllers/_channel/twitter.coffee:193
 #: app/assets/javascripts/app/controllers/_integration/exchange.coffee:721
 msgid "App could not be verified."
@@ -1874,7 +1874,7 @@ msgstr ""
 msgid "August"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:363
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:375
 msgid "Authenticate"
 msgstr ""
 
@@ -2383,7 +2383,7 @@ msgstr ""
 msgid "Caller log"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:238
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:240
 #: app/assets/javascripts/app/views/profile/avatar.jst.eco:7
 #: app/frontend/apps/desktop/pages/personal-setting/components/PersonalSettingAvatarCameraFlyout.vue:119
 #: app/frontend/apps/desktop/pages/personal-setting/views/PersonalSettingAvatar.vue:394
@@ -2614,8 +2614,8 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/email.coffee:258
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:275
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:291
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:263
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:292
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:264
 #: app/assets/javascripts/app/controllers/_integration/slack.coffee:33
 #: app/assets/javascripts/app/models/email_address.coffee:34
 #: app/assets/javascripts/app/models/postmaster_filter.coffee:8
@@ -2920,7 +2920,7 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_application_controller/_modal_generic_description.coffee:4
 #: app/assets/javascripts/app/controllers/_application_controller/_modal_generic_error_modal.coffee:4
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:448
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:454
 #: app/assets/javascripts/app/controllers/_plugin/maintenance.coffee:27
 #: app/assets/javascripts/app/controllers/_settings/area_proxy.coffee:55
 #: app/assets/javascripts/app/controllers/translation.coffee:184
@@ -3162,7 +3162,7 @@ msgstr ""
 msgid "Confirmation failed."
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:311
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:312
 #: app/assets/javascripts/app/views/channel/email_account_wizard.jst.eco:21
 #: app/assets/javascripts/app/views/getting_started/email.jst.eco:26
 #: app/assets/javascripts/app/views/integration/exchange_wizard.jst.eco:51
@@ -3195,8 +3195,8 @@ msgstr ""
 msgid "Connect Google App"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:396
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:311
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:402
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:312
 #: app/assets/javascripts/app/views/microsoft365/index.jst.eco:10
 #: app/assets/javascripts/app/views/microsoft_graph/index.jst.eco:11
 msgid "Connect Microsoft 365 App"
@@ -3363,6 +3363,7 @@ msgstr ""
 msgid "Copy ticket number"
 msgstr ""
 
+#: app/assets/javascripts/app/views/microsoft_graph/app_config.jst.eco:35
 #: app/assets/javascripts/app/views/whatsapp/account_webhook.jst.eco:14
 msgid "Copy to clipboard"
 msgstr ""
@@ -3713,7 +3714,7 @@ msgstr ""
 msgid "Creation mask"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:154
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:156
 #: app/frontend/apps/desktop/pages/personal-setting/components/PersonalSettingAvatarCropImageFlyout.vue:42
 msgid "Crop Image"
 msgstr ""
@@ -4930,8 +4931,8 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/email.coffee:262
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:339
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:352
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:267
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:358
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:268
 #: app/assets/javascripts/app/views/channel/email_account_overview.jst.eco:88
 #: app/assets/javascripts/app/views/google/list.jst.eco:58
 #: app/assets/javascripts/app/views/microsoft365/list.jst.eco:59
@@ -4980,11 +4981,11 @@ msgstr ""
 msgid "Dialog window with selections"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:450
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:462
 msgid "Did you check the validity of the configured mailbox? Or consider removing this channel and switch to using a different mailbox type. %l"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:448
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:460
 msgid "Did you confirm that the user has delegation permissions for the mailbox? Or consider removing this channel and switch to using a different mailbox type. %l"
 msgstr ""
 
@@ -5005,7 +5006,7 @@ msgstr ""
 msgid "Did you plan to include attachments with this message?"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:446
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:458
 msgid "Did you verify that the user has access to the mailbox? Or consider removing this channel and switch to using a different mailbox type. %l"
 msgstr ""
 
@@ -5059,7 +5060,7 @@ msgstr ""
 msgid "Disabling the notifications from all groups will turn off the limit. Instead, to disable the notifications use the settings above."
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:279
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:281
 msgid "Discard"
 msgstr ""
 
@@ -5309,7 +5310,7 @@ msgstr ""
 msgid "Duplicate Detection"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:473
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:489
 msgid "Duplicate Email Address"
 msgstr ""
 
@@ -5519,7 +5520,7 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/email.coffee:201
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:241
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:257
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:258
 #: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:110
 #: app/assets/javascripts/app/views/channel/email_account_overview.jst.eco:126
 #: app/assets/javascripts/app/views/google/list.jst.eco:81
@@ -6269,7 +6270,7 @@ msgid "Failed to load content."
 msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:223
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:239
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:240
 msgid "Failed to roll back the migration of the channel!"
 msgstr ""
 
@@ -6458,8 +6459,8 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/email.coffee:418
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:279
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:295
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:461
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:296
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:473
 #: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee:86
 #: app/assets/javascripts/app/views/integration/exchange.jst.eco:59
 #: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundForm.ts:177
@@ -8134,8 +8135,8 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/email.coffee:419
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:280
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:296
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:462
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:297
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:474
 #: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee:87
 #: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundForm.ts:187
 msgid "Keep messages on server"
@@ -8681,7 +8682,7 @@ msgstr ""
 msgid "Macros make it easy to automate common, multi-step tasks within Zammad.\n\nYou can use macros in Zammad to automate recurring sequences, saving time (and nerves). This allows a combined sequence of actions on the ticket to be executed with just one click."
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:368
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:380
 msgid "Mailbox type"
 msgstr ""
 
@@ -9965,7 +9966,7 @@ msgstr ""
 msgid "No attached files"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:325
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:327
 msgid "No camera found."
 msgstr ""
 
@@ -12264,7 +12265,7 @@ msgid "Rollback migration"
 msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:219
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:235
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:236
 msgid "Rollback of channel migration succeeded!"
 msgstr ""
 
@@ -12433,8 +12434,8 @@ msgstr ""
 msgid "Saturday"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:404
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:153
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:416
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:155
 #: app/assets/javascripts/app/views/integration/clearbit.jst.eco:73
 #: app/assets/javascripts/app/views/integration/cti.jst.eco:127
 #: app/assets/javascripts/app/views/integration/github.jst.eco:21
@@ -13213,7 +13214,7 @@ msgstr ""
 msgid "Shared drafts are not activated for the selected group"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:368
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:380
 msgid "Shared mailbox"
 msgstr ""
 
@@ -13226,7 +13227,7 @@ msgstr ""
 msgid "Sharing draft…"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:236
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:238
 msgid "Shoot"
 msgstr ""
 
@@ -13616,7 +13617,7 @@ msgstr ""
 msgid "Special character required"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:461
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:473
 msgid "Specify which folder to fetch from, or leave empty to fetch from ||inbox||."
 msgstr ""
 
@@ -14463,8 +14464,8 @@ msgstr ""
 #: app/assets/javascripts/app/controllers/_channel/email.coffee:302
 #: app/assets/javascripts/app/controllers/_channel/facebook.coffee:246
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:327
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:341
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:307
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:342
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:308
 #: app/assets/javascripts/app/controllers/_channel/telegram.coffee:211
 #: app/assets/javascripts/app/controllers/_channel/twitter.coffee:300
 #: app/assets/javascripts/app/controllers/knowledge_base/content_can_be_published_dialog.coffee:36
@@ -14567,8 +14568,8 @@ msgstr ""
 
 #: app/assets/javascripts/app/controllers/_channel/facebook.coffee:182
 #: app/assets/javascripts/app/controllers/_channel/google.coffee:425
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:438
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:353
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:444
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:365
 #: app/assets/javascripts/app/controllers/_channel/twitter.coffee:189
 #: app/assets/javascripts/app/controllers/_integration/exchange.coffee:716
 msgid "The entry could not be created."
@@ -17250,7 +17251,7 @@ msgstr ""
 msgid "User Mailbox"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:461
+#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee:472
 msgid "User Mismatch"
 msgstr ""
 
@@ -17324,7 +17325,7 @@ msgstr ""
 msgid "User is out of office"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:368
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:380
 msgid "User mailbox"
 msgstr ""
 
@@ -18094,7 +18095,7 @@ msgstr ""
 msgid "You have not created a ticket yet."
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:324
+#: app/assets/javascripts/app/controllers/_profile/avatar.coffee:326
 msgid "You have to allow access to your webcam."
 msgstr ""
 
@@ -19707,7 +19708,7 @@ msgstr ""
 msgid "updated"
 msgstr ""
 
-#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:369
+#: app/assets/javascripts/app/controllers/_channel/microsoft_graph.coffee:381
 msgid "user@your-organization.tld"
 msgstr ""