mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-11-24 20:05:41 +01:00
Add tool tip to disabled delete button when user does not have permissions to delete items on issues tab
This commit is contained in:
parent
feed827223
commit
41a498e8d2
@ -74,6 +74,9 @@
|
||||
<!-- issues page remove all button -->
|
||||
<ui-btn v-if="isIssuesFilter && userCanDelete && !isBatchSelecting" :loading="processingIssues" color="bg-error" small class="ml-4" @click="removeAllIssues">{{ $strings.ButtonRemoveAll }} {{ $formatNumber(numShowing) }} {{ entityName }}</ui-btn>
|
||||
|
||||
<!-- issues page remove all button user does not have permissions to delete -->
|
||||
<ui-btn v-if="isIssuesFilter && !userCanDelete && !isBatchSelecting" :title="$strings.ButtonRemoveAllInsufficientPermissions" color="bg-error" small class="ml-4" disabled>{{ $strings.ButtonRemoveAll }} {{ $formatNumber(numShowing) }} {{ entityName }}</ui-btn>
|
||||
|
||||
<ui-context-menu-dropdown v-if="contextMenuItems.length" :items="contextMenuItems" :menu-width="110" class="ml-2" @action="contextMenuAction" />
|
||||
</template>
|
||||
<!-- search page -->
|
||||
|
||||
@ -80,6 +80,7 @@
|
||||
"ButtonRefresh": "Refresh",
|
||||
"ButtonRemove": "Remove",
|
||||
"ButtonRemoveAll": "Remove All",
|
||||
"ButtonRemoveAllInsufficientPermissions": "User has insufficient permissions to remove items.",
|
||||
"ButtonRemoveAllLibraryItems": "Remove All Library Items",
|
||||
"ButtonRemoveFromContinueListening": "Remove from Continue Listening",
|
||||
"ButtonRemoveFromContinueReading": "Remove from Continue Reading",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user