mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-01-30 18:53:36 +00:00
23 lines
579 B
Text
23 lines
579 B
Text
extends site.pug
|
|
|
|
block content
|
|
form(action=`/journal/${entry.id}/edit`, method="post")
|
|
h1(style="display:flex;align-items:center;gap:1em;")
|
|
| #{entry.title}
|
|
if isSelf || isMod
|
|
div(style="display:flex;")
|
|
if isSelf
|
|
button(name="action", value="edit") edit
|
|
button(name="action", value="delete") delete
|
|
span
|
|
| by
|
|
a(href=`/users/${entry.uname}`)= entry.uname
|
|
|
|
|
span(title=entry.date.toLocaleString()) #{entryTimestamp}
|
|
br
|
|
br
|
|
div
|
|
| Mood:
|
|
strong= entry.moodString
|
|
br
|
|
div!= entry.content
|