Commit 9d87115 1 parent f46796f commit 9d87115 Copy full SHA for 9d87115
File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ <% content_for :head do %>
2
+ <%= stylesheet_link_tag "heatmap" %>
3
+ <%= javascript_include_tag "heatmap" %>
4
+ <% end %>
1
5
<% content_for :heading do %>
2
6
<div class ="row ">
3
7
< div class ="col-sm-auto ">
235
239
236
240
< div class ="richtext text-break clearfix "> <%= @user . description . to_html %> </ div >
237
241
242
+ <% if @heatmap_data . present? %>
243
+ < div class ="overflow-auto " style ="max-height: 500px; ">
244
+ <%= tag . div ( :id => "cal-heatmap" , :data => { :heatmap => @heatmap_data . to_json } ) %>
245
+ </ div >
246
+ <% end %>
247
+
238
248
<% if current_user and @user . id == current_user . id %>
239
249
< div class ="my-3 ">
240
250
<%= link_to t ( ".edit_profile" ) , edit_profile_path , :class => "btn btn-outline-primary" %>
You can’t perform that action at this time.
0 commit comments