Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions frontend/src/components/router-button/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,20 @@
<div class="mt-3" v-if="showExpiresAt && expiresAlertVisible && productProExpires && productProExpires !== 0">
<el-alert type="warning" @close="handleExpiresAlertClose">
<template #title>
<div class="text-xs">
<div>
<div class="flex flex-col gap-2 items-center justify-center w-full sm:flex-row">
<span>
{{ $t(expiresAlertKey, [expiresInfo]) }}
</span>
<span @click="goXpack" class="flex items-center justify-center gap-0.5 jump">
<el-icon><Position /></el-icon>
<el-link
class="cursor-pointer"
style="font-size: 12px"
icon="Position"
type="primary"
@click="goXpack"
>
{{ $t('firewall.quickJump') }}
</span>
</el-link>
</div>
</div>
</template>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/home/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div :key="$route.fullPath" id="dashboard">
<RouterButton
show-expires-at
:buttons="[
{
label: i18n.global.t('menu.home'),
Expand Down
Loading