mailer styling controls added
This commit is contained in:
parent
db3bfb6fc3
commit
bb802ed756
3 changed files with 34 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import ChoiceSetting from '../helpers/choice_setting.vue'
|
|||
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||
import StringSetting from '../helpers/string_setting.vue'
|
||||
import GroupSetting from '../helpers/group_setting.vue'
|
||||
import ColorSetting from '../helpers/color_setting.vue'
|
||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||
|
||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||
|
|
@ -20,6 +21,7 @@ const MailerTab = {
|
|||
IntegerSetting,
|
||||
StringSetting,
|
||||
AttachmentSetting,
|
||||
ColorSetting,
|
||||
GroupSetting
|
||||
},
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,35 @@
|
|||
<template>
|
||||
<div :label="$t('admin_dash.tabs.mailer')">
|
||||
<div class="setting-section">
|
||||
<h3>{{ $t('admin_dash.mailer.styling') }}</h3>
|
||||
<ul class="setting-list">
|
||||
<h4>{{ $t('admin_dash.mailer.assets') }}</h4>
|
||||
<li>
|
||||
<StringSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':logo']" />
|
||||
</li>
|
||||
<h4>{{ $t('admin_dash.mailer.colors') }}</h4>
|
||||
<li>
|
||||
<ColorSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling', ':background_color']" />
|
||||
</li>
|
||||
<li>
|
||||
<ColorSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling', ':content_background_color']" />
|
||||
</li>
|
||||
<li>
|
||||
<ColorSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling', ':header_color']" />
|
||||
</li>
|
||||
<li>
|
||||
<ColorSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling', ':text_color']" />
|
||||
</li>
|
||||
<li>
|
||||
<ColorSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling', ':link_color']" />
|
||||
</li>
|
||||
<li>
|
||||
<ColorSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling', ':text_muted_color']" />
|
||||
</li>
|
||||
<li>
|
||||
<GroupSetting :path="[':pleroma','Pleroma.Emails.UserEmail', ':styling']" />
|
||||
</li>
|
||||
</ul>
|
||||
<h3>{{ $t('admin_dash.mailer.adapter') }}</h3>
|
||||
<ul class="setting-list">
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -1293,6 +1293,9 @@
|
|||
"invalidation_settings": "Cache Invalidation"
|
||||
},
|
||||
"mailer": {
|
||||
"styling": "Styling",
|
||||
"assets": "Assets",
|
||||
"colors": "Color palette",
|
||||
"adapter": "Mailing Adapter",
|
||||
"auth": "Authentication"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue