Changeset 02b96c5 in OpenWorkouts-current for ow/templates
- Timestamp:
- Mar 12, 2019, 12:47:38 PM (5 years ago)
- Branches:
- current
- Children:
- 8ba32d9
- Parents:
- d9453fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/templates/profile.pt
rd9453fc r02b96c5 51 51 </ul> 52 52 </div> 53 <div class="calendar-heatmap js-calendar-heatmap"> 54 </div> 53 55 </div> 54 56 … … 462 464 sport_stats.setup(); 463 465 466 var heatmap_chart = owjs.calendar_heatmap_chart({ 467 chart_selector: 'div.js-calendar-heatmap', 468 url: "${request.resource_url(user, 'month')}", 469 // Trick to have all those shortened day names translated 470 day_names_list: "${_('Mo Tu We Th Fr Sa Su')}".split(' ') 471 }); 472 heatmap_chart.render(); 473 464 474 var year_stats = owjs.year_stats({ 465 475 link_selector: 'a.js-choose-year-stats',
Note: See TracChangeset
for help on using the changeset viewer.