Show non-PUBLIC tasks in shared calendars readonly
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
parent
2e7c2730f8
commit
fdcbc3a8c1
1 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
<template>
|
<template>
|
||||||
<li v-show="showTask"
|
<li v-show="showTask"
|
||||||
:task-id="task.uri"
|
:task-id="task.uri"
|
||||||
:class="{done: task.completed, readOnly: task.calendar.readOnly, deleted: !!deleteTimeout}"
|
:class="{done: task.completed, readOnly: readOnly, deleted: !!deleteTimeout}"
|
||||||
:data-priority="[task.priority]"
|
:data-priority="[task.priority]"
|
||||||
class="task-item"
|
class="task-item"
|
||||||
@dragstart="dragStart($event)">
|
@dragstart="dragStart($event)">
|
||||||
|
@ -38,10 +38,10 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
class="checkbox no-nav"
|
class="checkbox no-nav"
|
||||||
name="toggleCompleted"
|
name="toggleCompleted"
|
||||||
:class="{'disabled': task.calendar.readOnly}"
|
:class="{'disabled': readOnly}"
|
||||||
:checked="task.completed"
|
:checked="task.completed"
|
||||||
:aria-checked="task.completed"
|
:aria-checked="task.completed"
|
||||||
:disabled="task.calendar.readOnly"
|
:disabled="readOnly"
|
||||||
:aria-label="$t('tasks', 'Task is completed')"
|
:aria-label="$t('tasks', 'Task is completed')"
|
||||||
@click="toggleCompleted(task)">
|
@click="toggleCompleted(task)">
|
||||||
<label class="reactive no-nav" :for="'toggleCompleted_' + task.uid" />
|
<label class="reactive no-nav" :for="'toggleCompleted_' + task.uid" />
|
||||||
|
@ -120,7 +120,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
</Actions>
|
</Actions>
|
||||||
<button class="inline task-star reactive no-nav" @click="toggleStarred(task)">
|
<button class="inline task-star reactive no-nav" @click="toggleStarred(task)">
|
||||||
<span :class="[iconStar, {'disabled': task.calendar.readOnly}]" class="icon" />
|
<span :class="[iconStar, {'disabled': readOnly}]" class="icon" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue