aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings/settings.vue
diff options
context:
space:
mode:
authorHenry <spam@hjkos.com>2018-11-26 01:50:54 +0000
committerHenry <spam@hjkos.com>2018-11-26 01:50:54 +0000
commit91272dc5558e1326dac872f927dc8da7f9109cd0 (patch)
tree42b479fa25d0fe4c39401f9759e2f35323f86b61 /src/components/settings/settings.vue
parentf1a23f2b6edb0858890c82cf42c8b6d835102d56 (diff)
parentb948234aec2ec1d140a46303c09d24424262bd66 (diff)
Merge branch 'feature/scope_preferences' into 'develop'
Make visibility copying and subject copying configurable Closes #135 See merge request pleroma/pleroma-fe!353
Diffstat (limited to 'src/components/settings/settings.vue')
-rw-r--r--src/components/settings/settings.vue35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/components/settings/settings.vue b/src/components/settings/settings.vue
index 652bdcc1..4a236d23 100644
--- a/src/components/settings/settings.vue
+++ b/src/components/settings/settings.vue
@@ -53,6 +53,41 @@
</li>
</ul>
</div>
+
+ <div class="setting-item">
+ <h2>{{$t('settings.composing')}}</h2>
+ <ul class="setting-list">
+ <li>
+ <input type="checkbox" id="scopeCopy" v-model="scopeCopyLocal">
+ <label for="scopeCopy">
+ {{$t('settings.scope_copy')}} {{$t('settings.instance_default', { value: scopeCopyDefault })}}
+ </label>
+ </li>
+ <li>
+ <div>
+ {{$t('settings.subject_line_behavior')}}
+ <label for="subjectLineBehavior" class="select">
+ <select id="subjectLineBehavior" v-model="subjectLineBehaviorLocal">
+ <option value="email">
+ {{$t('settings.subject_line_email')}}
+ {{subjectLineBehaviorDefault == 'email' ? $t('settings.instance_default_simple') : ''}}
+ </option>
+ <option value="masto">
+ {{$t('settings.subject_line_mastodon')}}
+ {{subjectLineBehaviorDefault == 'mastodon' ? $t('settings.instance_default_simple') : ''}}
+ </option>
+ <option value="noop">
+ {{$t('settings.subject_line_noop')}}
+ {{subjectLineBehaviorDefault == 'noop' ? $t('settings.instance_default_simple') : ''}}
+ </option>
+ </select>
+ <i class="icon-down-open"/>
+ </label>
+ </div>
+ </li>
+ </ul>
+ </div>
+
<div class="setting-item">
<h2>{{$t('settings.attachments')}}</h2>
<ul class="setting-list">