summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/fax_documents/_index_core.html.haml4
-rw-r--r--config/locales/en.yml2
2 files changed, 5 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
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a295492..dab4595 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2,3 +2,5 @@ en:
time:
formats:
date_only: '%m/%d/%Y'
+ short: ! '%m/%d/%y %H:%M'
+ date_only: '%m/%d/%Y'