mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
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:
parent
a5ee90a95d
commit
fffaebcbca
@ -98,8 +98,7 @@
|
|||||||
"number": "Nr.",
|
"number": "Nr.",
|
||||||
"role": "Rolle",
|
"role": "Rolle",
|
||||||
"slug": "Alias"
|
"slug": "Alias"
|
||||||
},
|
}
|
||||||
"edit": "Bearbeiten"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": "No.",
|
"number": "No.",
|
||||||
"role": "Role",
|
"role": "Role",
|
||||||
"slug": "Slug"
|
"slug": "Slug"
|
||||||
},
|
}
|
||||||
"edit": "Edit"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": "No.",
|
"number": "No.",
|
||||||
"role": "Rol",
|
"role": "Rol",
|
||||||
"slug": "Alias"
|
"slug": "Alias"
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": "Num.",
|
"number": "Num.",
|
||||||
"role": "Rôle",
|
"role": "Rôle",
|
||||||
"slug": "Slug"
|
"slug": "Slug"
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": null,
|
"number": null,
|
||||||
"role": null,
|
"role": null,
|
||||||
"slug": null
|
"slug": null
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": null,
|
"number": null,
|
||||||
"role": null,
|
"role": null,
|
||||||
"slug": null
|
"slug": null
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": null,
|
"number": null,
|
||||||
"role": null,
|
"role": null,
|
||||||
"slug": null
|
"slug": null
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": "N.º",
|
"number": "N.º",
|
||||||
"role": "Função",
|
"role": "Função",
|
||||||
"slug": "Slug"
|
"slug": "Slug"
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,8 +98,7 @@
|
|||||||
"number": "№",
|
"number": "№",
|
||||||
"role": "Роль",
|
"role": "Роль",
|
||||||
"slug": "Алиас"
|
"slug": "Алиас"
|
||||||
},
|
}
|
||||||
"edit": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user