blob: 2f3e611e08957ff011787fc0d0da26784bfea3b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<script>
export default {
computed: {
currentPath() {
return window.location.pathname;
},
},
};
</script>
<template>
<div class="alert alert-danger">
{{ sprintf(__("Someone edited the issue at the same time you did. Please check out
%{linkStart}%the issue%{linkEnd} and make sure your changes will not unintentionally remove
theirs."), { linkStart: `<a href="${currentPath}" target="_blank" rel="nofollow">` linkEnd: '</a
>', }) }}
</div>
</template>
|