cosmetics

This commit is contained in:
2015-05-27 15:28:09 +02:00
parent dcd8c13e57
commit 544049fdc7
8 changed files with 30 additions and 41 deletions
@@ -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