forked from simrail/simrail.pro
fix #13
This commit is contained in:
parent
08311fb417
commit
95912147fa
@ -40,7 +40,7 @@
|
||||
}
|
||||
|
||||
function copylink() {
|
||||
navigator.clipboard.writeText("https://simrail.alekswilc.dev/details/<%= record.id %>/")
|
||||
navigator.clipboard.writeText("https://simrail.alekswilc.dev/stations/details/<%= record.id %>/")
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
;name: <%= record.userUsername %>
|
||||
;joined: <%=record.joinedDate ? dayjs(record.joinedDate).format() : 'no-data'%>
|
||||
;left: <%=dayjs(record.leftDate).format()%>
|
||||
;url: https://simrail.alekswilc.dev/details/<%= record.id %>/
|
||||
;url: https://simrail.alekswilc.dev/stations/details/<%= record.id %>/
|
||||
</code>
|
||||
<br />
|
||||
<p><button onclick="copylink()">Kopiuj link</button></p>
|
||||
|
@ -56,7 +56,7 @@
|
||||
<p>Spędzony czas: <%= record.joinedDate ? msToTime(record.leftDate - record.joinedDate) : '--' %>
|
||||
</p>
|
||||
|
||||
<a href="/details/<%= record.id %>">
|
||||
<a href="/stations/details/<%= record.id %>">
|
||||
<button>Więcej</button>
|
||||
</a>
|
||||
</details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user