Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %div{:class => "splitcontentvertical"}
- - @all_hours.each do |k,v|
- - tempcount += 1
- - u = User.find(k)
- %p.preboxtitle
- = u.first_name_last_name
- %div{:class => "hours_per_day_history box"}
- %div{:id => "hoursPerDayHistory" + u.id.to_s, :class => "hoursPerDayHistory"}
- :javascript
- // If this is not ie8 then render graphs
- if (!$('html').hasClass('ie8')) {
- hrs_graph = '#{v[0]}';
- hrs_user = '#{u.to_json}';
- chart = new cfx.Chart();
- title = new cfx.TitleDockable();
- document.onload = loadHoursChart()
- }
Advertisement
Add Comment
Please, Sign In to add comment