summaryrefslogtreecommitdiff
path: root/app/views/fax_documents
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/fax_documents')
-rw-r--r--app/views/fax_documents/_index_core.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/fax_documents/_index_core.html.haml b/app/views/fax_documents/_index_core.html.haml
index 1408eba..8559f1c 100644
--- a/app/views/fax_documents/_index_core.html.haml
+++ b/app/views/fax_documents/_index_core.html.haml
@@ -14,7 +14,9 @@
- for fax_document in fax_documents
%tr{:id => "fax_document_#{fax_document.id}"}
- if fax_document.sent_at
- %td= "#{fax_document.inbound ? '⇨' : '⇦'} #{fax_document.sent_at}".html_safe
+ %td
+ = "#{fax_document.inbound ? '⇨' : '⇦'}".html_safe
+ = l fax_document.sent_at, :format => :short
%td= t("fax_documents.states.#{fax_document.state}")
%td= t("fax_documents.result_codes.code_#{fax_document.result_code}") + " (#{fax_document.result_code})"
- else