Flow fixes
This commit is contained in:
@@ -4,3 +4,4 @@ Qsupplier.App.User= DS.Model.extend
|
||||
email: attr('string')
|
||||
list: DS.belongsTo('list') # in ember scope not many to many (yet)
|
||||
join_requests: DS.hasMany('join_request')
|
||||
facebook_image: (-> "http://graph.facebook.com/#{@get('facebook_id')}/picture?type=square").property('facebook_id')
|
||||
|
||||
@@ -14,7 +14,7 @@ div class="table-actions table-actions-#{unbound table.id}"
|
||||
/.table-action-row
|
||||
a href="suppliers_table_path(@table)" {{t 'section.tables_view.table_actions.got_to_table'}}
|
||||
each user in table.active_list.users
|
||||
img src="http://graph.facebook.com/#{user.uid}/picture?type=square"
|
||||
img src=user.facebook_image
|
||||
if editmode
|
||||
.table-settings
|
||||
select
|
||||
|
||||
@@ -30,9 +30,6 @@ Qsupplier.App.SectionTableView = Ember.View.extend DragNDrop.Draggable,
|
||||
placeInSection: ->
|
||||
@$el.css 'left', @offsetX()
|
||||
@$el.css 'top', @offsetY()
|
||||
didInsertElement: ->
|
||||
@$el = $ @get('element')
|
||||
#@placeInSection()
|
||||
positionChange: (position)->
|
||||
#@$el.css 'left', position.left
|
||||
#@$el.css 'top', position.top
|
||||
|
||||
Reference in New Issue
Block a user