summaryrefslogtreecommitdiff
path: root/app/views/users/calendar.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-29 01:20:17 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-29 01:20:17 -0800
commit1f0e16569f1924ed967bff9f4f78bbee874251db (patch)
tree06c9c64dc37d6646cb467b8b854e0b557662d934 /app/views/users/calendar.html.haml
parentc9f18d4587f16eb16b8b902d69576520c08b7f5a (diff)
downloadgitlab-ce-1f0e16569f1924ed967bff9f4f78bbee874251db.tar.gz
Load contribution calendar via AJAX
Diffstat (limited to 'app/views/users/calendar.html.haml')
-rw-r--r--app/views/users/calendar.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/users/calendar.html.haml b/app/views/users/calendar.html.haml
new file mode 100644
index 00000000000..727faf23679
--- /dev/null
+++ b/app/views/users/calendar.html.haml
@@ -0,0 +1,8 @@
+%h4 Calendar:
+#cal-heatmap.calendar
+ :javascript
+ new calendar(
+ #{@timestamps.to_json},
+ #{@starting_year},
+ #{@starting_month}
+ );