Merge pull request #2116 from nextcloud/bugfix/noid/navigation-vue

Adjust navigation to new component slots
This commit is contained in:
Julius Härtl 2020-07-13 11:47:34 +02:00 коммит произвёл GitHub
Родитель 3cb2ce8c68 2faaf29d03
Коммит e5445505de
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 19 добавлений и 17 удалений

Просмотреть файл

@ -22,7 +22,7 @@
<template>
<AppNavigationVue :class="{'icon-loading': loading}">
<ul>
<template #list>
<AppNavigationBoardCategory
id="deck-navigation-all"
to="/board"
@ -43,22 +43,24 @@
:boards="sharedBoards"
icon="icon-shared" />
<AppNavigationAddBoard v-if="canCreate" />
</ul>
<AppNavigationSettings>
<div>
<Multiselect v-model="groupLimit"
:class="{'icon-loading-small': groupLimitDisabled}"
open-direction="bottom"
:options="groups"
:multiple="true"
:disabled="groupLimitDisabled"
:placeholder="t('deck', 'Limit deck usage of groups')"
label="displayname"
track-by="id"
@input="updateConfig" />
<p>{{ t('deck', 'Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them.') }}</p>
</div>
</AppNavigationSettings>
</template>
<template #footer>
<AppNavigationSettings>
<div>
<Multiselect v-model="groupLimit"
:class="{'icon-loading-small': groupLimitDisabled}"
open-direction="bottom"
:options="groups"
:multiple="true"
:disabled="groupLimitDisabled"
:placeholder="t('deck', 'Limit deck usage of groups')"
label="displayname"
track-by="id"
@input="updateConfig" />
<p>{{ t('deck', 'Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them.') }}</p>
</div>
</AppNavigationSettings>
</template>
</AppNavigationVue>
</template>