MDL-59521 core_calendar: conditionally hide description header
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user