mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
replace purged with "permanently deleted"
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
This commit is contained in:
co-authored by
David López
parent
3a69575588
commit
f5cc111f9f
@@ -32,7 +32,7 @@ const currentUserOwnsHistory = computed(() => {
|
||||
<div v-if="hasMessages" class="mx-3 mt-2" data-description="history messages">
|
||||
<BAlert v-if="history.purged" :show="history.purged" variant="warning">
|
||||
<FontAwesomeIcon :icon="faBurn" fixed-width />
|
||||
{{ localize("History has been purged") }}
|
||||
{{ localize("History has been permanently deleted") }}
|
||||
</BAlert>
|
||||
<BAlert v-else-if="history.deleted" :show="history.deleted" variant="warning">
|
||||
<FontAwesomeIcon :icon="faTrash" fixed-width />
|
||||
|
||||
@@ -225,7 +225,7 @@ function userTitle(title: string) {
|
||||
:title="localize(isDeletedNotPurged ? 'Permanently Delete History' : 'Delete History')"
|
||||
@click="showDeleteModal = !showDeleteModal">
|
||||
<FontAwesomeIcon fixed-width :icon="isDeletedNotPurged ? faBurn : faTrash" class="mr-1" />
|
||||
<span v-if="isDeletedNotPurged" v-localize>Purge this History</span>
|
||||
<span v-if="isDeletedNotPurged" v-localize>Permanently Delete History</span>
|
||||
<span v-else v-localize>Delete this History</span>
|
||||
</BDropdownItem>
|
||||
|
||||
@@ -318,9 +318,9 @@ function userTitle(title: string) {
|
||||
@ok="historyStore.secureHistory(history)">
|
||||
<h4>
|
||||
History:
|
||||
<b
|
||||
><i>{{ history.name }}</i></b
|
||||
>
|
||||
<b>
|
||||
<i>{{ history.name }}</i>
|
||||
</b>
|
||||
</h4>
|
||||
<p v-localize>
|
||||
This will make all the data in this history private (excluding library datasets), and will set
|
||||
@@ -331,7 +331,7 @@ function userTitle(title: string) {
|
||||
|
||||
<BModal
|
||||
v-model="showDeleteModal"
|
||||
:title="isDeletedNotPurged ? 'Purge History?' : 'Delete History?'"
|
||||
:title="isDeletedNotPurged ? 'Permanently Delete History?' : 'Delete History?'"
|
||||
title-tag="h2"
|
||||
@ok="onDelete"
|
||||
@show="purgeHistory = isDeletedNotPurged">
|
||||
|
||||
@@ -278,7 +278,11 @@ async function loadMore(noScroll = false) {
|
||||
</div>
|
||||
<TextSummary v-else component="h4" :description="history.name" one-line-summary />
|
||||
<div class="d-flex align-items-center flex-gapx-1">
|
||||
<BBadge v-if="history.purged" pill class="alert-warning" title="Purged">
|
||||
<BBadge
|
||||
v-if="history.purged"
|
||||
pill
|
||||
class="alert-warning"
|
||||
title="Permanently deleted">
|
||||
<FontAwesomeIcon :icon="faBurn" fixed-width />
|
||||
</BBadge>
|
||||
<BBadge v-else-if="history.deleted" pill class="alert-danger" title="Deleted">
|
||||
|
||||
Reference in New Issue
Block a user