cosmetics
This commit is contained in:
@@ -16,7 +16,6 @@ App.List = DS.Model.extend
|
||||
table: DS.belongsTo('table')
|
||||
join_requests: DS.hasMany('join_request')
|
||||
users: DS.hasMany('user')
|
||||
supplier_name: (-> @get('cached_supplier_name') or @get('supplier.name')).property('cached_supplier_name', 'supplier.name')
|
||||
|
||||
is_extended_version: ->
|
||||
@get('extended_version')
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
.row
|
||||
h2=t 'models.plural.list'
|
||||
each list in lists: = view "list-index" contentBinding='list'
|
||||
each list in lists
|
||||
= view "list-index" content=list
|
||||
.clearfix
|
||||
if hasMore
|
||||
button{action "showMore"}=t 'lists.show_more'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
span.created_at=time list.created_at
|
||||
span.price.currency= currency list.price
|
||||
span.name= list.supplier_name
|
||||
span.name= list.cached_supplier_name
|
||||
|
||||
Reference in New Issue
Block a user