lint
This commit is contained in:
parent
bc2964c327
commit
7e9fd4d1dd
3 changed files with 14 additions and 12 deletions
|
|
@ -54,7 +54,7 @@
|
||||||
type="file"
|
type="file"
|
||||||
class="input image-cropper-img-input"
|
class="input image-cropper-img-input"
|
||||||
:accept="mimes"
|
:accept="mimes"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,7 @@
|
||||||
:editable="true"
|
:editable="true"
|
||||||
:switcher="false"
|
:switcher="false"
|
||||||
rounded="top"
|
rounded="top"
|
||||||
>
|
/>
|
||||||
</UserCard>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-item">
|
<div class="setting-item">
|
||||||
<h2>{{ $t('settings.account_privacy') }}</h2>
|
<h2>{{ $t('settings.account_privacy') }}</h2>
|
||||||
|
|
|
||||||
|
|
@ -153,8 +153,8 @@
|
||||||
<button
|
<button
|
||||||
v-if="editable"
|
v-if="editable"
|
||||||
class="button-unstyled edit-button"
|
class="button-unstyled edit-button"
|
||||||
@click="editingName = !editingName"
|
|
||||||
:title="$t('settings.toggle_edit')"
|
:title="$t('settings.toggle_edit')"
|
||||||
|
@click="editingName = !editingName"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
class="icon"
|
class="icon"
|
||||||
|
|
@ -500,7 +500,10 @@
|
||||||
class="user-profile-field-add add-field button-default -hover-highlight"
|
class="user-profile-field-add add-field button-default -hover-highlight"
|
||||||
@click="addField"
|
@click="addField"
|
||||||
>
|
>
|
||||||
<FAIcon icon="plus" class="icon" />
|
<FAIcon
|
||||||
|
icon="plus"
|
||||||
|
class="icon"
|
||||||
|
/>
|
||||||
<span class="label">
|
<span class="label">
|
||||||
{{ $t("settings.profile_fields.add_field") }}
|
{{ $t("settings.profile_fields.add_field") }}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -508,8 +511,8 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div
|
<div
|
||||||
class="user-extras"
|
|
||||||
v-if="!hideBio"
|
v-if="!hideBio"
|
||||||
|
class="user-extras"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
v-if="!editable && !mergedConfig.hideUserStats"
|
v-if="!editable && !mergedConfig.hideUserStats"
|
||||||
|
|
@ -675,12 +678,12 @@
|
||||||
id="pick-image"
|
id="pick-image"
|
||||||
class="button-default btn"
|
class="button-default btn"
|
||||||
type="button"
|
type="button"
|
||||||
@click="() => this.$refs.cropper.pickImage()"
|
@click="() => $refs.cropper.pickImage()"
|
||||||
>
|
>
|
||||||
{{ $t('settings.upload_picture') }}
|
{{ $t('settings.upload_picture') }}
|
||||||
</button>
|
</button>
|
||||||
<p class="visibility-notice">
|
<p class="visibility-notice">
|
||||||
{{ editImage === 'avatar' ? $t('settings.avatar_size_instruction') : $t('settings.banner_size_instruction' )}}
|
{{ editImage === 'avatar' ? $t('settings.avatar_size_instruction') : $t('settings.banner_size_instruction' ) }}
|
||||||
</p>
|
</p>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<button
|
<button
|
||||||
|
|
@ -688,26 +691,26 @@
|
||||||
type="button"
|
type="button"
|
||||||
@click="editImage = false"
|
@click="editImage = false"
|
||||||
>
|
>
|
||||||
{{ this.$t('image_cropper.cancel') }}
|
{{ $t('image_cropper.cancel') }}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
:title="editImage === 'avatar' ? $t('settings.reset_avatar') : $t('settings.reset_banner')"
|
:title="editImage === 'avatar' ? $t('settings.reset_avatar') : $t('settings.reset_banner')"
|
||||||
class="button-default btn reset-button"
|
class="button-default btn reset-button"
|
||||||
@click="resetImage"
|
@click="resetImage"
|
||||||
>
|
>
|
||||||
{{ editImage === 'avatar' ? $t('settings.reset_avatar') : $t('settings.reset_banner' )}}
|
{{ editImage === 'avatar' ? $t('settings.reset_avatar') : $t('settings.reset_banner' ) }}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="button-default btn"
|
class="button-default btn"
|
||||||
type="button"
|
type="button"
|
||||||
@click="this.$refs.cropper.submit(false)"
|
@click="$refs.cropper.submit(false)"
|
||||||
>
|
>
|
||||||
{{ $t('image_cropper.save_without_cropping') }}
|
{{ $t('image_cropper.save_without_cropping') }}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="button-default btn"
|
class="button-default btn"
|
||||||
type="button"
|
type="button"
|
||||||
@click="this.$refs.cropper.submit(true)"
|
@click="$refs.cropper.submit(true)"
|
||||||
>
|
>
|
||||||
{{ $t('image_cropper.save') }}
|
{{ $t('image_cropper.save') }}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue