App.DimensionsHelper = Ember.Helper.helper ([width, height], options)->
  unit = options.unit || 'm'
  width ||= 0
  height ||= 0
  width = "&nbsp;#{width}" if width < 10
  height = "&nbsp;#{height}" if height < 10
  "#{width} x #{height} <span class='dimension'>#{unit}</span>".htmlSafe()
