Browse Source

Merge pull request #41034 from nextcloud/fix/37092/users--html-validation

fix(settings): users page html validation
pull/41046/head
Ferdinand Thiessen 3 years ago
committed by GitHub
parent
commit
d43c66e96a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      apps/settings/src/components/Users/UserRow.vue
  2. 1
      apps/settings/src/views/Users.vue
  3. 4
      dist/settings-users-8351.js
  4. 2
      dist/settings-users-8351.js.map
  5. 4
      dist/settings-vue-settings-apps-users-management.js
  6. 2
      dist/settings-vue-settings-apps-users-management.js.map

8
apps/settings/src/components/Users/UserRow.vue

@ -150,7 +150,7 @@
:for="'subadmins' + uniqueId">
{{ t('settings', 'Set user as admin for') }}
</label>
<NcSelect :id="'subadmins' + uniqueId"
<NcSelect :input-id="'subadmins' + uniqueId"
:close-on-select="false"
:disabled="isLoadingField"
:loading="loading.subadmins"
@ -190,8 +190,8 @@
@option:selected="setUserQuota" />
</template>
<template v-else-if="!isObfuscated">
<label :for="'quota-progress' + uniqueId">{{ userQuota }} ({{ usedSpace }})</label>
<NcProgressBar :id="'quota-progress' + uniqueId"
<span :id="'quota-progress' + uniqueId">{{ userQuota }} ({{ usedSpace }})</span>
<NcProgressBar :aria-labelledby="'quota-progress' + uniqueId"
class="row__progress"
:class="{
'row__progress--warn': usedQuota > 80,
@ -406,7 +406,7 @@ export default {
},
uniqueId() {
return this.user.id + this.rand
return encodeURIComponent(this.user.id + this.rand)
},
userGroupsLabels() {

1
apps/settings/src/views/Users.vue

@ -26,7 +26,6 @@
<NcAppNavigation>
<NcAppNavigationNew button-id="new-user-button"
:text="t('settings','New user')"
button-class="icon-add"
@click="showNewUserMenu"
@keyup.enter="showNewUserMenu"
@keyup.space="showNewUserMenu">

4
dist/settings-users-8351.js
File diff suppressed because it is too large
View File

2
dist/settings-users-8351.js.map
File diff suppressed because it is too large
View File

4
dist/settings-vue-settings-apps-users-management.js
File diff suppressed because it is too large
View File

2
dist/settings-vue-settings-apps-users-management.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save