summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_comment.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
committerjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
commita6de1561461cc719fddd8175c93588a47513a4b8 (patch)
treef406d98575b0515135808750f22bcb03be02b1af /help/app/views/tickets/_comment.html.haml
parent118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (diff)
Rough code to add & comment on tickets.
Diffstat (limited to 'help/app/views/tickets/_comment.html.haml')
-rw-r--r--help/app/views/tickets/_comment.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/help/app/views/tickets/_comment.html.haml b/help/app/views/tickets/_comment.html.haml
new file mode 100644
index 0000000..77e29b8
--- /dev/null
+++ b/help/app/views/tickets/_comment.html.haml
@@ -0,0 +1,10 @@
+%div
+ - if User.find(comment.posted_by)
+ Posted by
+ = User.find(comment.posted_by).login
+ %p
+ Posted at
+ = comment.posted_at
+ %p
+ = comment.body
+ %p \ No newline at end of file