Skip to content

Commit

Permalink
MDL-59521 core_calendar: conditionally hide description header
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed Jul 17, 2017
1 parent 16a68a2 commit 548f5cf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions calendar/templates/event_summary_body.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@
{
"timestart": 1490320388,
"description": "An random event description",
"eventtype": "open",
"eventtype": "open"
}
}}
<div data-region="summary-modal-container" data-event-id="{{id}}" data-event-title="{{name}}">
<h4>{{#str}} when, core_calendar {{/str}}</h4>
{{#userdate}} {{timestart}}, {{#str}} strftimerecentfull {{/str}} {{/userdate}}
<br>
<h4>{{#str}} description {{/str}}</h4>
{{{description}}}
{{#description}}
<h4>{{#str}} description {{/str}}</h4>
{{{description}}}
{{/description}}
<h4>{{#str}} eventtype, core_calendar {{/str}}</h4>
{{eventtype}}
</div>

0 comments on commit 548f5cf

Please sign in to comment.