summaryrefslogtreecommitdiff
path: root/src/web/_views/_template/comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_views/_template/comment.php')
-rw-r--r--src/web/_views/_template/comment.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/web/_views/_template/comment.php b/src/web/_views/_template/comment.php
new file mode 100644
index 0000000..b947ff6
--- /dev/null
+++ b/src/web/_views/_template/comment.php
@@ -0,0 +1,12 @@
+<?php /* Copyright (c) 2024 Freya Murphy */ ?>
+<?php /* vi: syntax=php */ ?>
+<div class="comment row mt">
+ <?=pfp($user)?>
+ <div class="ml col sub-card">
+ <div class="row">
+ <strong><?=$this->format_name($user)?></strong>
+ <span class="subtext ml"><?=$this->format_date($comment['created'])?></span>
+ </div>
+ <?=$comment['content']?>
+ </div>
+</div>