Optimize timeago tooltip logic

上级 cf12c3d2
......@@ -32,24 +32,17 @@ export default {
<div class="erased alert alert-warning">
<template v-if="erasedByUser">
{{ s__("Job|Job has been erased by") }}
<a
:href="linkToUser"
>
<a :href="linkToUser">
{{ username }}
</a>
<timeago-tooltip
:time="erasedAt"
/>
</template>
<template v-else>
{{ s__("Job|Job has been erased") }}
<timeago-tooltip
:time="erasedAt"
/>
</template>
<timeago-tooltip
:time="erasedAt"
/>
</div>
</div>
</template>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册