Permalink
Browse files

fixed domain output in show

  • Loading branch information...
bigfolio committed Apr 27, 2009
1 parent 7dfdf3e commit 13d97e6c894227de7cf9df911c8558583d9dc90b
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/tickets/show.html.erb
@@ -9,7 +9,7 @@
<%= link_to_remote "I'm working on this", :url => research_ticket_url(@ticket) if @ticket.state == 'fresh' %>
</div>
<div class="ticket_body">
- <p class="timestamp">On <%= @ticket.created_at.strftime('%a %m/%d at %I:%M%p %Z') %> <%= mail_to @ticket.email, @ticket.name %> of <%= link_to @ticket.domain, @ticket.domain.match('http://') ? @ticket.domain : 'http://'+@ticket.domain %> wrote:</p>
+ <p class="timestamp">On <%= @ticket.created_at.strftime('%a %m/%d at %I:%M%p %Z') %> <%= mail_to @ticket.email, @ticket.name %> of <%= link_to @ticket.domain, @ticket.domain.match('http://') ? @ticket.domain : 'http://'+@ticket.domain unless ticket.domain.blank? %> wrote:</p>
<%=h @ticket.body %>
<p><b>U:</b> <%=h @ticket.username %> / <b>P:</b> <%=h @ticket.password %></p>

0 comments on commit 13d97e6

Please sign in to comment.