Commit c82d61d9 authored by Filipa Lacerda's avatar Filipa Lacerda

Optimize timeago tooltip logic

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment