mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +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.",
|
||||
"role": "Rolle",
|
||||
"slug": "Alias"
|
||||
},
|
||||
"edit": "Bearbeiten"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": "No.",
|
||||
"role": "Role",
|
||||
"slug": "Slug"
|
||||
},
|
||||
"edit": "Edit"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": "No.",
|
||||
"role": "Rol",
|
||||
"slug": "Alias"
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": "Num.",
|
||||
"role": "Rôle",
|
||||
"slug": "Slug"
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": null,
|
||||
"role": null,
|
||||
"slug": null
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": null,
|
||||
"role": null,
|
||||
"slug": null
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": null,
|
||||
"role": null,
|
||||
"slug": null
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": "N.º",
|
||||
"role": "Função",
|
||||
"slug": "Slug"
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
"number": "№",
|
||||
"role": "Роль",
|
||||
"slug": "Алиас"
|
||||
},
|
||||
"edit": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -709,9 +709,19 @@ exports[`Users given badges are enabled renders 1`] = `
|
||||
<nuxt-link-stub
|
||||
to="[object Object]"
|
||||
>
|
||||
|
||||
admin.users.table.edit
|
||||
|
||||
<button
|
||||
class="base-button --icon-only --circle --filled"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
class="base-icon"
|
||||
>
|
||||
<!---->
|
||||
</span>
|
||||
|
||||
<!---->
|
||||
|
||||
</button>
|
||||
</nuxt-link-stub>
|
||||
</td>
|
||||
</tr>
|
||||
@ -793,9 +803,19 @@ exports[`Users given badges are enabled renders 1`] = `
|
||||
<nuxt-link-stub
|
||||
to="[object Object]"
|
||||
>
|
||||
|
||||
admin.users.table.edit
|
||||
|
||||
<button
|
||||
class="base-button --icon-only --circle --filled"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
class="base-icon"
|
||||
>
|
||||
<!---->
|
||||
</span>
|
||||
|
||||
<!---->
|
||||
|
||||
</button>
|
||||
</nuxt-link-stub>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
params: { id: scope.row.id },
|
||||
}"
|
||||
>
|
||||
{{ $t('admin.users.table.edit') }}
|
||||
<base-button icon="pencil" filled circle />
|
||||
</nuxt-link>
|
||||
</template>
|
||||
</ds-table>
|
||||
@ -224,4 +224,8 @@ export default {
|
||||
.admin-users > .base-card:first-child {
|
||||
margin-bottom: $space-small;
|
||||
}
|
||||
|
||||
.ds-table-col {
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user