@@ -129,6 +129,21 @@ except according to the terms contained in the LICENSE file.
129
129
<template #name ><actor-link :actor =" entry.actor" /></template >
130
130
</i18n-t >
131
131
</template >
132
+ <template v-else-if =" entry .action === ' entity.delete' " >
133
+ <span class =" icon-trash" ></span >
134
+ <i18n-t keypath =" title.entity.delete" >
135
+ <template #name ><actor-link :actor =" entry.actor" /></template >
136
+ </i18n-t >
137
+ </template >
138
+ <template v-else-if =" entry .action === ' entity.restore' " >
139
+ <span class =" icon-recycle" ></span >
140
+ <i18n-t keypath =" title.entity.restore" >
141
+ <template #label >
142
+ <span class =" entity-label" >{{ entity.currentVersion.label }}</span >
143
+ </template >
144
+ <template #name ><actor-link :actor =" entry.actor" /></template >
145
+ </i18n-t >
146
+ </template >
132
147
</template >
133
148
<template #body >
134
149
<entity-diff v-if =" entityVersion != null && entityVersion.version !== 1" />
@@ -200,6 +215,8 @@ const showBranchData = () => {
200
215
color : #bbb ;
201
216
vertical-align : -2px ;
202
217
}
218
+ .icon-trash { color : #bbb ; }
219
+ .icon-recycle {color : #bbb ; }
203
220
204
221
.deleted-submission , .entity-label , .source-name { font-weight : normal ; }
205
222
.deleted-submission { color : $color-danger ; }
@@ -282,7 +299,13 @@ const showBranchData = () => {
282
299
},
283
300
// This text is shown in a list of events. {name} is the name of a Web
284
301
// User.
285
- "update_resolve": "Conflict warning resolved by {name}"
302
+ "update_resolve": "Conflict warning resolved by {name}",
303
+ // This text is shown in a list of events. {name} is the name of a Web
304
+ // User.
305
+ "delete": "Entity {label} deleted by {name}",
306
+ // This text is shown in a list of events. {name} is the name of a Web
307
+ // User.
308
+ "restore": "Entity {label} undeleted by {name}"
286
309
}
287
310
},
288
311
// This is shown for an update to an Entity when the update was made offline
0 commit comments