Skip to content
Open
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
1 change: 1 addition & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "SMTP-Server-Port",
"email_smtp_server": "SMTP-Server",
"email_smtp_username": "SMTP-Benutzername",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Dem vom SMTP-Server bereitgestellten Zertifikat vertrauen",
"enable_acl": "Portfolio-Zugriffskontrolle aktivieren (Beta)",
"enable_bom_cyclonedx": "CycloneDX aktivieren",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "SMTP server port",
"email_smtp_server": "SMTP server",
"email_smtp_username": "SMTP username",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Trust the certificate provided by the SMTP server",
"enable_acl": "Enable portfolio access control (beta)",
"enable_bom_cyclonedx": "Enable CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Puerto del servidor SMTP",
"email_smtp_server": "servidor SMTP",
"email_smtp_username": "nombre de usuario SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Confíe en el certificado proporcionado por el servidor SMTP",
"enable_acl": "Habilitar el control de acceso a la cartera (beta)",
"enable_bom_cyclonedx": "Habilitar ciclónDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Port du serveur SMTP",
"email_smtp_server": "Serveur SMTP",
"email_smtp_username": "Nom d'utilisateur SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Faire confiance au certificat fourni par le serveur SMTP",
"enable_acl": "Activer le contrôle d'accès au portfolio (bêta)",
"enable_bom_cyclonedx": "Activer CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "SMTP सर्वर पोर्ट",
"email_smtp_server": "एसएमटीपी सर्वर",
"email_smtp_username": "SMTP उपयोगकर्ता नाम",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "SMTP सर्वर द्वारा प्रदान किए गए प्रमाणपत्र पर विश्वास करें",
"enable_acl": "पोर्टफ़ोलियो एक्सेस नियंत्रण सक्षम करें (बीटा)",
"enable_bom_cyclonedx": "साइक्लोनडीएक्स सक्षम करें",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Porta del server SMTP",
"email_smtp_server": "server SMTP",
"email_smtp_username": "Nome utente SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Considera attendibile il certificato fornito dal server SMTP",
"enable_acl": "Abilita il controllo dell'accesso al portafoglio (beta)",
"enable_bom_cyclonedx": "Abilita CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "SMTPサーバー ポート",
"email_smtp_server": "SMTPサーバー",
"email_smtp_username": "SMTPユーザー名",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "SMTPサーバーから提供された証明書を信頼する",
"enable_acl": "ポートフォリオのアクセス制御を有効にする(ベータ版)",
"enable_bom_cyclonedx": "CycloneDXを有効にする",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Port serwera SMTP",
"email_smtp_server": "Serwer SMTP",
"email_smtp_username": "Nazwa użytkownika SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Zaufaj certyfikatowi dostarczonemu przez serwer SMTP",
"enable_acl": "Włącz kontrolę dostępu do portfolio (beta)",
"enable_bom_cyclonedx": "Włącz CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Porta do servidor SMTP",
"email_smtp_server": "Servidor SMTP",
"email_smtp_username": "Nome de usuário SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Confie no certificado fornecido pelo servidor SMTP",
"enable_acl": "Habilitar controle de acesso ao portfólio (beta)",
"enable_bom_cyclonedx": "Habilitar CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Porta do servidor SMTP",
"email_smtp_server": "Servidor SMTP",
"email_smtp_username": "Nome de utilizador SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Confie no certificado fornecido pelo servidor SMTP",
"enable_acl": "Habilitar controle de acesso ao portfólio (beta)",
"enable_bom_cyclonedx": "Habilitar CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Порт сервера SMTP",
"email_smtp_server": "Сервер SMTP",
"email_smtp_username": "Имя пользователя SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Доверять сертификату SMTP сервера",
"enable_acl": "Включить контроль доступа к портфолио (бета)",
"enable_bom_cyclonedx": "Включить CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "Порт SMTP-сервера",
"email_smtp_server": "SMTP-сервер",
"email_smtp_username": "Ім'я користувача SMTP",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "Довіряти сертифікату, наданому SMTP-сервером",
"enable_acl": "Увімкнути контроль доступу до портфоліо (бета)",
"enable_bom_cyclonedx": "Увімкнути CycloneDX",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"email_smtp_port": "SMTP 服务器端口",
"email_smtp_server": "SMTP 服务器",
"email_smtp_username": "SMTP 用户名",
"email_subject_show_level": "Show notification level in subject",
"email_trust_cert": "信任 SMTP 服务器提供的证书",
"enable_acl": "启用访问控制(测试版)",
"enable_bom_cyclonedx": "启用 CycloneDX",
Expand Down
20 changes: 20 additions & 0 deletions src/views/administration/configuration/Email.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
v-model="emailPrefix"
lazy="true"
/>
<c-switch
id="email-subject-show-level"
color="primary"
v-model="isEmailSubjectShowLevelEnabled"
label
v-bind="labelIcon"
/>
{{ $t('admin.email_subject_show_level') }}
<br />
<b-validated-input-group-form-input
id="email-smtp-server"
:label="$t('admin.email_smtp_server')"
Expand Down Expand Up @@ -118,6 +127,7 @@ export default {
isEmailEnabled: false,
emailFromAddress: '',
emailPrefix: '',
isEmailSubjectShowLevelEnabled: false,
emailSmtpServer: '',
emailSmtpPort: '',
emailSmtpUsername: '',
Expand All @@ -144,6 +154,11 @@ export default {
propertyName: 'subject.prefix',
propertyValue: this.emailPrefix,
},
{
groupName: 'email',
propertyName: 'subject.show.level',
propertyValue: this.isEmailSubjectShowLevelEnabled,
},
{
groupName: 'email',
propertyName: 'smtp.server.hostname',
Expand Down Expand Up @@ -199,6 +214,11 @@ export default {
case 'subject.prefix':
this.emailPrefix = item.propertyValue;
break;
case 'subject.show.level':
this.isEmailSubjectShowLevelEnabled = common.toBoolean(
item.propertyValue,
);
break;
case 'smtp.server.hostname':
this.emailSmtpServer = item.propertyValue;
break;
Expand Down
Loading