Flow fixes

This commit is contained in:
2014-05-28 16:29:03 +02:00
parent e9554ea3e7
commit 8faf5f3c0a
9 changed files with 63 additions and 8 deletions
@@ -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