mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
add a message to history to say when it's empty
This commit is contained in:
parent
f5b5ba5905
commit
b65e87d17a
2 changed files with 5 additions and 0 deletions
|
@ -201,6 +201,7 @@
|
|||
"groups_and_permissions_manage": "Manage groups and permissions",
|
||||
"permissions": "Permissions",
|
||||
"history": {
|
||||
"is_empty": "Nothing in history for now.",
|
||||
"title": "History",
|
||||
"last_action": "Last action:",
|
||||
"methods": {
|
||||
|
|
|
@ -33,6 +33,10 @@
|
|||
class="accordion" role="tablist"
|
||||
id="history" ref="history"
|
||||
>
|
||||
<p v-if="history.length === 0" class="alert m-0 px-2 py-1">
|
||||
{{ $t('history.is_empty') }}
|
||||
</p>
|
||||
|
||||
<!-- ACTION LIST -->
|
||||
<b-card
|
||||
v-for="(action, i) in history" :key="i"
|
||||
|
|
Loading…
Add table
Reference in a new issue