better lists history
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user