diff options
author | jessib <jessib@riseup.net> | 2012-10-16 15:51:35 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-10-16 15:51:35 -0700 |
commit | 48d6c2aac9ae2bf1c140e734a576e45289c99150 (patch) | |
tree | e52e003e635ee650fbe0981dc1cb4c29c409429e /help/app/views/tickets/show.html.haml | |
parent | 56273c13f54a872d02db286c90a8d5103cf7a663 (diff) |
Some functional tests and other tweaks.
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r-- | help/app/views/tickets/show.html.haml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml index 04dd676..a9b994e 100644 --- a/help/app/views/tickets/show.html.haml +++ b/help/app/views/tickets/show.html.haml @@ -5,8 +5,17 @@ %h2= @ticket.title is open? = @ticket.is_open -code: -= @ticket.code +- if @ticket.code + code: + = @ticket.code +- if @ticket.email + email: + = @ticket.email +- if User.find(@ticket.created_by) + Created by + = User.find(@ticket.created_by).login +- else + Unauthenticated ticket creator = render(:partial => "comment", :collection => @ticket.comments) = simple_form_for (@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test |