Replace edit link by pencil button (#8453)

We show now a round button with pencil icon to edit the badges.
This commit is contained in:
Max 2025-04-28 16:39:54 +02:00 committed by GitHub
parent a5ee90a95d
commit fffaebcbca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 40 additions and 25 deletions

View File

@ -98,8 +98,7 @@
"number": "Nr.", "number": "Nr.",
"role": "Rolle", "role": "Rolle",
"slug": "Alias" "slug": "Alias"
}, }
"edit": "Bearbeiten"
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": "No.", "number": "No.",
"role": "Role", "role": "Role",
"slug": "Slug" "slug": "Slug"
}, }
"edit": "Edit"
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": "No.", "number": "No.",
"role": "Rol", "role": "Rol",
"slug": "Alias" "slug": "Alias"
}, }
"edit": null
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": "Num.", "number": "Num.",
"role": "Rôle", "role": "Rôle",
"slug": "Slug" "slug": "Slug"
}, }
"edit": null
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": null, "number": null,
"role": null, "role": null,
"slug": null "slug": null
}, }
"edit": null
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": null, "number": null,
"role": null, "role": null,
"slug": null "slug": null
}, }
"edit": null
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": null, "number": null,
"role": null, "role": null,
"slug": null "slug": null
}, }
"edit": null
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": "N.º", "number": "N.º",
"role": "Função", "role": "Função",
"slug": "Slug" "slug": "Slug"
}, }
"edit": null
} }
} }
}, },

View File

@ -98,8 +98,7 @@
"number": "№", "number": "№",
"role": "Роль", "role": "Роль",
"slug": "Алиас" "slug": "Алиас"
}, }
"edit": null
} }
} }
}, },

View File

@ -709,9 +709,19 @@ exports[`Users given badges are enabled renders 1`] = `
<nuxt-link-stub <nuxt-link-stub
to="[object Object]" to="[object Object]"
> >
<button
class="base-button --icon-only --circle --filled"
type="button"
>
<span
class="base-icon"
>
<!---->
</span>
admin.users.table.edit <!---->
</button>
</nuxt-link-stub> </nuxt-link-stub>
</td> </td>
</tr> </tr>
@ -793,9 +803,19 @@ exports[`Users given badges are enabled renders 1`] = `
<nuxt-link-stub <nuxt-link-stub
to="[object Object]" to="[object Object]"
> >
<button
class="base-button --icon-only --circle --filled"
type="button"
>
<span
class="base-icon"
>
<!---->
</span>
admin.users.table.edit <!---->
</button>
</nuxt-link-stub> </nuxt-link-stub>
</td> </td>
</tr> </tr>

View File

@ -70,7 +70,7 @@
params: { id: scope.row.id }, params: { id: scope.row.id },
}" }"
> >
{{ $t('admin.users.table.edit') }} <base-button icon="pencil" filled circle />
</nuxt-link> </nuxt-link>
</template> </template>
</ds-table> </ds-table>
@ -224,4 +224,8 @@ export default {
.admin-users > .base-card:first-child { .admin-users > .base-card:first-child {
margin-bottom: $space-small; margin-bottom: $space-small;
} }
.ds-table-col {
vertical-align: middle;
}
</style> </style>