Release 2.0.17 (#3992)

* prevent empty title for select options
* removed css for unused sweetalert
* fix isWeekend() check with DateTimeInterface
* reset timesheet rates on "create copy"
* wrap long names in multi-selects - fix #4001
* rename profile menus
* show all possible links in user profile dropdown
* check if plugin is compatible before displaying the buy link
This commit is contained in:
Kevin Papst
2023-05-02 00:40:43 +02:00
committed by GitHub
parent 7112e932a2
commit 66413d789c
43 changed files with 76 additions and 93 deletions

View File

@@ -347,7 +347,13 @@ export default class KimaiFormSelect extends KimaiFormPlugin {
--end;
}
return (start > 0 || end < title.length) ? title.substring(start, end) : title;
let result = (start > 0 || end < title.length) ? title.substring(start, end) : title;
if (result === '' && entity['name'] !== undefined) {
return entity['name'];
}
return result;
}
/**

View File

@@ -14,7 +14,6 @@
@import 'tables';
@import 'calendar';
@import 'ticktac';
@import 'sweetalert';
@import 'selectpicker';
@import 'forms';
@import 'modal';

View File

@@ -9,9 +9,6 @@
> input {
min-width: unset;
}
.item {
white-space: nowrap!important;
}
}
.ts-dropdown {

View File

@@ -1,16 +0,0 @@
.swal2-popup {
font-size: unset;
}
body.swal2-toast-shown .swal2-container {
// never block the top two bars double-bars display (smaller displays)
@media only screen and (max-width: 768px) {
top: 95px !important;
width: 80%;
}
// never block the top bar on single-bar display (larger devices)
@media only screen and (min-width: 768px) {
top: 60px !important;
}
}