cirandas.net

ref: master

app/views/tasks/ticket_details.html.erb


<%= _('Ticket: %s').html_safe % @ticket.name %>

<%= _('Created at %s by %s').html_safe % [@ticket.created_at.to_date, link_to(@ticket.requestor.name, @ticket.requestor.url)] %>
<%= _('Owner: %s').html_safe % link_to(@ticket.target.name, @ticket.target.url) %>

<%= _('Status: %s').html_safe % gettext(Task::Status.names[@ticket.status]) %>

<%= _('Description: %s').html_safe % @ticket.description %>

<% if @ticket.closing_statment %>

<%= _('Closing statement: %s').html_safe % @ticket.closing_statment %>

<% end %> <%= button_bar do %> <%= button :back, _('Back'), :action => 'index' %> <% end %>