@@ -41,9 +41,9 @@
|
|||||||
<span v-if="acl.type===7">{{ t('deck', '(Circle)') }}</span>
|
<span v-if="acl.type===7">{{ t('deck', '(Circle)') }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<ActionCheckbox v-if="!(isCurrentUser(acl.participant.uid) && acl.type === 0) && (canManage || (canEdit && canShare))" :checked="acl.permissionEdit" @change="clickEditAcl(acl)">
|
<NcActionCheckbox v-if="!(isCurrentUser(acl.participant.uid) && acl.type === 0) && (canManage || (canEdit && canShare))" :checked="acl.permissionEdit" @change="clickEditAcl(acl)">
|
||||||
{{ t('deck', 'Can edit') }}
|
{{ t('deck', 'Can edit') }}
|
||||||
</ActionCheckbox>
|
</NcActionCheckbox>
|
||||||
<NcActions v-if="!(isCurrentUser(acl.participant.uid) && acl.type === 0)" :force-menu="true">
|
<NcActions v-if="!(isCurrentUser(acl.participant.uid) && acl.type === 0)" :force-menu="true">
|
||||||
<ActionCheckbox v-if="canManage || canShare" :checked="acl.permissionShare" @change="clickShareAcl(acl)">
|
<ActionCheckbox v-if="canManage || canShare" :checked="acl.permissionShare" @change="clickShareAcl(acl)">
|
||||||
{{ t('deck', 'Can share') }}
|
{{ t('deck', 'Can share') }}
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { NcAvatar, NcMultiselect, NcActions, NcActionButton, ActionCheckbox, NcRelatedResourcesPanel } from '@nextcloud/vue'
|
import { NcAvatar, NcMultiselect, NcActions, NcActionButton, NcActionCheckbox, NcRelatedResourcesPanel } from '@nextcloud/vue'
|
||||||
import { CollectionList } from 'nextcloud-vue-collections'
|
import { CollectionList } from 'nextcloud-vue-collections'
|
||||||
import { mapGetters, mapState } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import { getCurrentUser } from '@nextcloud/auth'
|
import { getCurrentUser } from '@nextcloud/auth'
|
||||||
@@ -87,7 +87,7 @@ export default {
|
|||||||
NcAvatar,
|
NcAvatar,
|
||||||
NcActions,
|
NcActions,
|
||||||
NcActionButton,
|
NcActionButton,
|
||||||
ActionCheckbox,
|
NcActionCheckbox,
|
||||||
NcMultiselect,
|
NcMultiselect,
|
||||||
CollectionList,
|
CollectionList,
|
||||||
NcRelatedResourcesPanel,
|
NcRelatedResourcesPanel,
|
||||||
|
|||||||
@@ -76,15 +76,15 @@
|
|||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
</NcActions>
|
</NcActions>
|
||||||
<NcActions v-if="removable && !isReadOnly" :force-menu="true">
|
<NcActions v-if="removable && !isReadOnly" :force-menu="true">
|
||||||
<ActionLink v-if="attachment.extendedData.fileid" icon="icon-folder" :href="internalLink(attachment)">
|
<NcActionLink v-if="attachment.extendedData.fileid" icon="icon-folder" :href="internalLink(attachment)">
|
||||||
{{ t('deck', 'Show in Files') }}
|
{{ t('deck', 'Show in Files') }}
|
||||||
</ActionLink>
|
</NcActionLink>
|
||||||
<ActionLink v-if="attachment.extendedData.fileid"
|
<NcActionLink v-if="attachment.extendedData.fileid"
|
||||||
icon="icon-download"
|
icon="icon-download"
|
||||||
:href="downloadLink(attachment)"
|
:href="downloadLink(attachment)"
|
||||||
download>
|
download>
|
||||||
{{ t('deck', 'Download') }}
|
{{ t('deck', 'Download') }}
|
||||||
</ActionLink>
|
</NcActionLink>
|
||||||
<NcActionButton v-if="attachment.extendedData.fileid && !isReadOnly" icon="icon-delete" @click="unshareAttachment(attachment)">
|
<NcActionButton v-if="attachment.extendedData.fileid && !isReadOnly" icon="icon-delete" @click="unshareAttachment(attachment)">
|
||||||
{{ t('deck', 'Remove attachment') }}
|
{{ t('deck', 'Remove attachment') }}
|
||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import axios from '@nextcloud/axios'
|
import axios from '@nextcloud/axios'
|
||||||
import { NcActions, NcActionButton, ActionLink } from '@nextcloud/vue'
|
import { NcActions, NcActionButton, NcActionLink } from '@nextcloud/vue'
|
||||||
import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue'
|
import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue'
|
||||||
import relativeDate from '../../mixins/relativeDate.js'
|
import relativeDate from '../../mixins/relativeDate.js'
|
||||||
import { formatFileSize } from '@nextcloud/files'
|
import { formatFileSize } from '@nextcloud/files'
|
||||||
@@ -127,7 +127,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
NcActions,
|
NcActions,
|
||||||
NcActionButton,
|
NcActionButton,
|
||||||
ActionLink,
|
NcActionLink,
|
||||||
AttachmentDragAndDrop,
|
AttachmentDragAndDrop,
|
||||||
},
|
},
|
||||||
mixins: [relativeDate, attachmentUpload],
|
mixins: [relativeDate, attachmentUpload],
|
||||||
|
|||||||
Reference in New Issue
Block a user