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"
|
||||
class="input image-cropper-img-input"
|
||||
:accept="mimes"
|
||||
/>
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@
|
|||
:editable="true"
|
||||
:switcher="false"
|
||||
rounded="top"
|
||||
>
|
||||
</UserCard>
|
||||
/>
|
||||
</div>
|
||||
<div class="setting-item">
|
||||
<h2>{{ $t('settings.account_privacy') }}</h2>
|
||||
|
|
|
|||
|
|
@ -153,8 +153,8 @@
|
|||
<button
|
||||
v-if="editable"
|
||||
class="button-unstyled edit-button"
|
||||
@click="editingName = !editingName"
|
||||
:title="$t('settings.toggle_edit')"
|
||||
@click="editingName = !editingName"
|
||||
>
|
||||
<FAIcon
|
||||
class="icon"
|
||||
|
|
@ -500,7 +500,10 @@
|
|||
class="user-profile-field-add add-field button-default -hover-highlight"
|
||||
@click="addField"
|
||||
>
|
||||
<FAIcon icon="plus" class="icon" />
|
||||
<FAIcon
|
||||
icon="plus"
|
||||
class="icon"
|
||||
/>
|
||||
<span class="label">
|
||||
{{ $t("settings.profile_fields.add_field") }}
|
||||
</span>
|
||||
|
|
@ -508,8 +511,8 @@
|
|||
</div>
|
||||
</template>
|
||||
<div
|
||||
class="user-extras"
|
||||
v-if="!hideBio"
|
||||
class="user-extras"
|
||||
>
|
||||
<span
|
||||
v-if="!editable && !mergedConfig.hideUserStats"
|
||||
|
|
@ -675,7 +678,7 @@
|
|||
id="pick-image"
|
||||
class="button-default btn"
|
||||
type="button"
|
||||
@click="() => this.$refs.cropper.pickImage()"
|
||||
@click="() => $refs.cropper.pickImage()"
|
||||
>
|
||||
{{ $t('settings.upload_picture') }}
|
||||
</button>
|
||||
|
|
@ -688,7 +691,7 @@
|
|||
type="button"
|
||||
@click="editImage = false"
|
||||
>
|
||||
{{ this.$t('image_cropper.cancel') }}
|
||||
{{ $t('image_cropper.cancel') }}
|
||||
</button>
|
||||
<button
|
||||
:title="editImage === 'avatar' ? $t('settings.reset_avatar') : $t('settings.reset_banner')"
|
||||
|
|
@ -700,14 +703,14 @@
|
|||
<button
|
||||
class="button-default btn"
|
||||
type="button"
|
||||
@click="this.$refs.cropper.submit(false)"
|
||||
@click="$refs.cropper.submit(false)"
|
||||
>
|
||||
{{ $t('image_cropper.save_without_cropping') }}
|
||||
</button>
|
||||
<button
|
||||
class="button-default btn"
|
||||
type="button"
|
||||
@click="this.$refs.cropper.submit(true)"
|
||||
@click="$refs.cropper.submit(true)"
|
||||
>
|
||||
{{ $t('image_cropper.save') }}
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue