better lists history

This commit is contained in:
2012-09-07 15:45:18 +02:00
parent 3b29b5b985
commit 7f8a8e9e26
4 changed files with 5 additions and 8 deletions
+2
View File
@@ -2,6 +2,8 @@
dl.dl-horizontal
dt= List.human_attribute_name(:created_at)
dd= l @list.created_at, format: :short
dt= Supplier.model_name.human
dd= @list.supplier.name
.well
table#history-list-table.table
thead
+1 -1
View File
@@ -2,4 +2,4 @@
= paginate @lists
ul
- for list in @lists
li= link_to l(list.created_at, format: :short), user_history_list_path(list_id: list.id)
li= link_to "#{l(list.created_at, format: :short)} - #{list.supplier.name}", user_history_list_path(list_id: list.id)