aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunasSudo <runassudo@yingtongli.me>2017-03-10 20:03:54 +1100
committerRunasSudo <runassudo@yingtongli.me>2017-03-10 20:03:54 +1100
commita37c082e7f1dd6675f74bc1e3c9e170bbef725dd (patch)
tree9fefda26c787a144afb73b1d3f4679f4082b27be
parenteac979e2e618182b10fb178a9e3a459442be6615 (diff)
Show activity group code
-rw-r--r--allocics.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocics.js b/allocics.js
index 60900a3..8c9d57e 100644
--- a/allocics.js
+++ b/allocics.js
@@ -90,7 +90,7 @@
// Build ICS event
cal.push(['BEGIN', 'VEVENT']);
cal.push(['UID', window.location.hostname + '@' + evt.id]);
- cal.push(['SUMMARY', evt.node.activityType + ' ' + evt.node.activity_code + ': ' + evt.node.description]);
+ cal.push(['SUMMARY', evt.node.activity_group_code + '/' + evt.node.activity_code + ': ' + evt.node.description]);
cal.push(['DTSTAMP', dateToString(dateBegin)]);
cal.push(['DTSTART', dateToString(dateBegin)]);
cal.push(['DTEND', dateToString(dateEnd)]);
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.