mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[projects-overview] line-clamp
This commit is contained in:
1 parent
63b66084e1
commit
cef1b5e733
3 files changed
+10
-3
No files matched your search
@@ -87,6 +87,10 @@ export default {
|
|||||||
font-size: 12px
|
font-size: 12px
|
||||||
padding-left: 10px
|
padding-left: 10px
|
||||||
margin-top: 5px
|
margin-top: 5px
|
||||||
|
display: -webkit-box
|
||||||
|
-webkit-line-clamp: 3
|
||||||
|
-webkit-box-orient: vertical
|
||||||
|
overflow: hidden
|
||||||
&:after
|
&:after
|
||||||
background: unset
|
background: unset
|
||||||
&:deep(.fc-day-today)
|
&:deep(.fc-day-today)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
<A-mastertask-description :mastertask="mastertask" />
|
<A-mastertask-description :mastertask="mastertask" />
|
||||||
|
|
||||||
<div class="d-flex justify-start align-center mt-8">
|
<div class="d-flex justify-start align-center mt-8">
|
||||||
<v-btn class="button primary" @click="toggleIsFinished()">{{ mastertask.is_finished ? 'Otvoriť mastertask' : 'Ukončiť mastertask'}}</v-btn>
|
<v-btn class="button primary" @click="toggleIsFinished()">{{ mastertask.is_finished === 1 ? 'Otvoriť mastertask' : 'Ukončiť mastertask' }}</v-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<A-tasks-table :subtasks="mastertask.subtasks" />
|
<A-tasks-table :subtasks="mastertask.subtasks" />
|
||||||
@@ -265,7 +265,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
toggleIsFinished() {
|
toggleIsFinished() {
|
||||||
this.mastertask.is_finished = !this.mastertask.is_finished
|
this.mastertask.is_finished = this.mastertask.is_finished === 0 ? 1 : 0
|
||||||
this.save()
|
this.save()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,8 @@
|
|||||||
import errorUtils from '@/plugins/lib@auth/_utils/error.utils'
|
import errorUtils from '@/plugins/lib@auth/_utils/error.utils'
|
||||||
import useVuelidate from '@vuelidate/core'
|
import useVuelidate from '@vuelidate/core'
|
||||||
import { required, numeric, minValue } from '@vuelidate/validators'
|
import { required, numeric, minValue } from '@vuelidate/validators'
|
||||||
import modalMixin from '@/plugins/tm@modal/_mixins/modal.mixin'
|
import modalMixin from '@/plugins/tm@modal/_mixins/modal.mixin'
|
||||||
|
import tmUtils from '@/plugins/tm@_utils/tm.utils'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [ modalMixin ],
|
mixins: [ modalMixin ],
|
||||||
@@ -56,6 +57,8 @@ export default {
|
|||||||
if (!await this.v$.$validate())
|
if (!await this.v$.$validate())
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if (this.subtask.deadline) this.subtask.deadline = tmUtils.formatDateTimeForBackend(this.subtask.deadline)
|
||||||
|
|
||||||
this.subtask.timesheets.push({
|
this.subtask.timesheets.push({
|
||||||
id: null,
|
id: null,
|
||||||
employee_id: this.subtask.employee_id,
|
employee_id: this.subtask.employee_id,
|
||||||
|
|||||||
Reference in new issue
Block a user