forked from simrail/simrail.pro
Reviewed-on: alekswilc/simrail-logs#14 Reviewed-by: Aleksander Wilczyński <aleks@alekswilc.dev>
This commit is contained in:
commit
aaf3f9bfd2
@ -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