aboutsummaryrefslogtreecommitdiff
path: root/views/_issueComment.eta
diff options
context:
space:
mode:
Diffstat (limited to 'views/_issueComment.eta')
-rw-r--r--views/_issueComment.eta18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/_issueComment.eta b/views/_issueComment.eta
new file mode 100644
index 0000000..8a851e8
--- /dev/null
+++ b/views/_issueComment.eta
@@ -0,0 +1,18 @@
+<div class="box comment" id="<%= it.comment.anchor %>">
+ <header>
+ <span>
+ <% if (it.comment.author) { %>
+ <a href="/<%= it.comment.author %>"><%= it.comment.author %></a>
+ <% } else { %>
+ <span class="placeholder">ghost</span>
+ <% } %>
+ <% if (it.comment.association) { %>
+ <span class="pill"><%= it.comment.association %></span>
+ <% } %>
+ </span>
+ <span class="timestamp">
+ <a href="#<%= it.comment.anchor %>"><time title="<%= it.comment.createdAt %>"><%= it.comment.createdAt.split("T")[0] %></time></a>
+ </span>
+ </header>
+ <%~ it.comment.bodyHtml %>
+</div>