This commit is contained in:
Aleksander Wilczyński 2024-08-08 19:52:16 +02:00
parent 08311fb417
commit 95912147fa
Signed by untrusted user: alekswilc
GPG Key ID: D4464A248E5F27FE
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
} }
function copylink() { function copylink() {
navigator.clipboard.writeText("https://simrail.alekswilc.dev/details/<%= record.id %>/") navigator.clipboard.writeText("https://simrail.alekswilc.dev/stations/details/<%= record.id %>/")
} }
</script> </script>
@ -70,7 +70,7 @@
;name: <%= record.userUsername %> ;name: <%= record.userUsername %>
;joined: <%=record.joinedDate ? dayjs(record.joinedDate).format() : 'no-data'%> ;joined: <%=record.joinedDate ? dayjs(record.joinedDate).format() : 'no-data'%>
;left: <%=dayjs(record.leftDate).format()%> ;left: <%=dayjs(record.leftDate).format()%>
;url: https://simrail.alekswilc.dev/details/<%= record.id %>/ ;url: https://simrail.alekswilc.dev/stations/details/<%= record.id %>/
</code> </code>
<br /> <br />
<p><button onclick="copylink()">Kopiuj link</button></p> <p><button onclick="copylink()">Kopiuj link</button></p>

View File

@ -56,7 +56,7 @@
<p>Spędzony czas: <%= record.joinedDate ? msToTime(record.leftDate - record.joinedDate) : '--' %> <p>Spędzony czas: <%= record.joinedDate ? msToTime(record.leftDate - record.joinedDate) : '--' %>
</p> </p>
<a href="/details/<%= record.id %>"> <a href="/stations/details/<%= record.id %>">
<button>Więcej</button> <button>Więcej</button>
</a> </a>
</details> </details>