mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-15 16:02:37 +00:00
perf: 统一dashboard页面,去掉email签名设置
This commit is contained in:
parent
45f29e3e6d
commit
23a7d9dfbe
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<IBox v-bind="$attrs">
|
||||
<div class="ibox-heading">
|
||||
<div v-if="contentHeading" class="ibox-heading">
|
||||
<slot name="content-heading">
|
||||
<h3 v-if="contentHeading.title"><i v-if="contentHeading.fa" :class="'fa ' + contentHeading.fa" /> {{ contentHeading.title }}</h3>
|
||||
<small v-if="contentHeading.content"><i class="fa fa-tim" /> {{ contentHeading.content }}</small>
|
||||
@ -18,7 +18,7 @@ export default {
|
||||
props: {
|
||||
contentHeading: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
default: null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<HeadingIBox :title="title" :content-heading="contentHeading">
|
||||
<HeadingIBox :title="title">
|
||||
<div v-if="dates_login_record_top10_sessions.length > 0" class="feed-activity-list">
|
||||
<div v-for="(item, index ) of dates_login_record_top10_sessions" :key="item.user + index" class="feed-element">
|
||||
<a href="#" class="pull-left">
|
||||
@ -26,10 +26,6 @@ export default {
|
||||
return {
|
||||
title: this.$t('dashboard.LatestSessions10'),
|
||||
avatarUrl: require('@/assets/img/admin.png'),
|
||||
contentHeading: {
|
||||
title: this.$t('dashboard.LatestTop10'),
|
||||
content: this.$t('dashboard.LatestSessions')
|
||||
},
|
||||
dates_login_record_top10_sessions: []
|
||||
}
|
||||
},
|
||||
|
@ -31,7 +31,7 @@ export default {
|
||||
visible: false,
|
||||
fields: [
|
||||
'EMAIL_CUSTOM_USER_CREATED_SUBJECT', 'EMAIL_CUSTOM_USER_CREATED_HONORIFIC',
|
||||
'EMAIL_CUSTOM_USER_CREATED_BODY', 'EMAIL_CUSTOM_USER_CREATED_SIGNATURE'
|
||||
'EMAIL_CUSTOM_USER_CREATED_BODY'
|
||||
],
|
||||
successUrl: { name: 'Settings', params: { activeMenu: 'EmailContent' }},
|
||||
fieldsMeta: {
|
||||
|
Loading…
Reference in New Issue
Block a user