ottodude125

Untitled

Jul 9th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.61 KB | None | 0 0
  1. %div{:class => "splitcontentvertical"}
  2.   - @all_hours.each do |k,v|
  3.     - tempcount += 1
  4.     - u = User.find(k)
  5.     %p.preboxtitle
  6.       = u.first_name_last_name
  7.     %div{:class => "hours_per_day_history box"}
  8.       %div{:id => "hoursPerDayHistory" + u.id.to_s, :class => "hoursPerDayHistory"}
  9.       :javascript
  10.         // If this is not ie8 then render graphs
  11.         if (!$('html').hasClass('ie8')) {
  12.           hrs_graph = '#{v[0]}';
  13.           hrs_user  = '#{u.to_json}';
  14.           chart = new cfx.Chart();
  15.           title = new cfx.TitleDockable();
  16.           document.onload = loadHoursChart()
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment