Skip to content

Commit

Permalink
fixed domain output in show
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfolio committed Apr 27, 2009
1 parent 7dfdf3e commit 13d97e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tickets/show.html.erb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<%= link_to_remote "I'm working on this", :url => research_ticket_url(@ticket) if @ticket.state == 'fresh' %> <%= link_to_remote "I'm working on this", :url => research_ticket_url(@ticket) if @ticket.state == 'fresh' %>
</div> </div>
<div class="ticket_body"> <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 %> <%=h @ticket.body %>


<p><b>U:</b> <%=h @ticket.username %> / <b>P:</b> <%=h @ticket.password %></p> <p><b>U:</b> <%=h @ticket.username %> / <b>P:</b> <%=h @ticket.password %></p>
Expand Down

0 comments on commit 13d97e6

Please sign in to comment.