mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
fix(settings): Use heading for Profile and Profile picture sections
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit ee11df8993)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
This commit is contained in:
parent
c6d19b2d7d
commit
e1d1491ca0
4 changed files with 6 additions and 13 deletions
|
|
@ -25,7 +25,7 @@
|
|||
<h3 class="hidden-visually">
|
||||
{{ t('settings', 'Your profile information') }}
|
||||
</h3>
|
||||
<HeaderBar :input-id="avatarChangeSupported ? inputId : null"
|
||||
<HeaderBar :is-heading="true"
|
||||
:readable="avatar.readable"
|
||||
:scope.sync="avatar.scope" />
|
||||
|
||||
|
|
@ -63,8 +63,7 @@
|
|||
</NcButton>
|
||||
</div>
|
||||
<span>{{ t('settings', 'The file must be a PNG or JPG') }}</span>
|
||||
<input :id="inputId"
|
||||
ref="input"
|
||||
<input ref="input"
|
||||
type="file"
|
||||
:accept="validMimeTypes.join(',')"
|
||||
@change="onChange">
|
||||
|
|
@ -163,12 +162,6 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
inputId() {
|
||||
return `account-property-${this.avatar.name}`
|
||||
},
|
||||
},
|
||||
|
||||
created() {
|
||||
subscribe('settings:display-name:updated', this.handleDisplayNameUpdate)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<template>
|
||||
<section>
|
||||
<HeaderBar :readable="propertyReadable" />
|
||||
<HeaderBar :is-heading="true" :readable="propertyReadable" />
|
||||
|
||||
<ProfileCheckbox :profile-enabled.sync="profileEnabled" />
|
||||
|
||||
|
|
|
|||
4
dist/settings-vue-settings-personal-info.js
vendored
4
dist/settings-vue-settings-personal-info.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue