{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template core_calendar/event_summary_body This template renders the body of calendar events summary modal. Example context (json): { "timestart": 1490320388, "description": "An random event description", "eventtype": "User", "source": "Ical imported", "groupname": "Group 1" } }}
{{#pix}} i/calendareventtime, core, {{#str}} when, core_calendar {{/str}} {{/pix}}
{{#userdate}} {{timestart}}, {{#str}} strftimerecentfull {{/str}} {{/userdate}}
{{#pix}} i/calendar, core, {{#str}} eventtype, core_calendar {{/str}} {{/pix}}
{{eventtype}}
{{#description}}
{{#pix}} i/calendareventdescription, core, {{#str}} description {{/str}} {{/pix}}
{{{.}}}
{{/description}} {{#isactionevent}}
{{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}
{{/isactionevent}} {{#iscategoryevent}}
{{#pix}} i/categoryevent, core, {{#str}} category {{/str}} {{/pix}}
{{{category.nestedname}}}
{{/iscategoryevent}} {{#iscourseevent}}
{{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}
{{/iscourseevent}} {{#groupname}}
{{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}
{{#pix}} i/groupevent, core, {{#str}} group {{/str}} {{/pix}}
{{{groupname}}}
{{/groupname}} {{#subscription}} {{#displayeventsource}}
{{#pix}} i/rss, core, {{#str}} eventsource, core_calendar {{/str}} {{/pix}}
{{#subscriptionurl}}

{{#str}}subscriptionsource, core_calendar, {{{subscriptionname}}}{{/str}}

{{/subscriptionurl}} {{^subscriptionurl}}

{{#str}}subscriptionsource, core_calendar, {{{subscriptionname}}}{{/str}}

{{/subscriptionurl}}
{{/displayeventsource}} {{/subscription}}