summaryrefslogtreecommitdiff
path: root/templates/messages.html
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-03 01:50:07 -0800
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-03 01:53:19 -0800
commit5cc70cc65667d40048f274efe0528ed13b189666 (patch)
treef2d9fbd57505fdf1b238d0b29c1ff4f42529f695 /templates/messages.html
parentf163a242792cd325c9414587d52f3d8584f28df1 (diff)
downloadphoneof-5cc70cc65667d40048f274efe0528ed13b189666.tar.gz
phoneof-5cc70cc65667d40048f274efe0528ed13b189666.zip
make it a password
Diffstat (limited to 'templates/messages.html')
-rw-r--r--templates/messages.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/messages.html b/templates/messages.html
index e09ac46..85764e3 100644
--- a/templates/messages.html
+++ b/templates/messages.html
@@ -1,5 +1,8 @@
{{ define "content" }}
<div id="chat-container" class="chat-container">
+ {{ if (eq (len .Messages) 0) }}
+ <p>nothing here so far...</p>
+ {{ end }}
{{ range $message := .Messages }}
<div class="message {{if $message.FrenSent}}fren{{end}}">
<div class="message-text {{if $message.FrenSent}}fren{{end}}">