2017-10-12 15:10:43 +02:00
|
|
|
<template name="timepointBrowserItem">
|
2017-10-18 21:35:46 +02:00
|
|
|
<div class="timepoint-browser-item" data-id="{{this.timepoint.timepointId}}">
|
2017-10-16 11:20:37 +02:00
|
|
|
<div class="timepoint-item p-y-2">
|
|
|
|
|
<div class="timepoint-details clearfix">
|
|
|
|
|
<div class="timepoint-title pull-left">
|
2017-10-12 15:10:43 +02:00
|
|
|
{{this.timepointApi.title timepoint}}
|
|
|
|
|
</div>
|
2017-10-16 11:20:37 +02:00
|
|
|
<div class="timepoint-expand-icon pull-right">
|
2017-10-12 15:10:43 +02:00
|
|
|
<i class="fa fa-chevron-down"></i>
|
|
|
|
|
</div>
|
2017-10-16 11:20:37 +02:00
|
|
|
<div class="timepoint-date pull-right m-r-1">{{formatDA this.timepoint.earliestDate 'D-MMM-YYYY'}}</div>
|
2017-10-12 15:10:43 +02:00
|
|
|
</div>
|
2017-10-16 11:20:37 +02:00
|
|
|
<div class="timepoint-summary">{{choose instance.summary.get 'Click to load'}}</div>
|
2017-10-12 15:10:43 +02:00
|
|
|
</div>
|
2017-10-12 21:49:50 +02:00
|
|
|
{{#if this.timepointChildTemplate}}
|
2017-10-20 19:18:54 +02:00
|
|
|
{{#if instance.studiesData.get}}
|
|
|
|
|
{{>Template.dynamic template=this.timepointChildTemplate data=(clone this studiesInformation=instance.studiesData.get)}}
|
2017-10-12 21:49:50 +02:00
|
|
|
{{/if}}
|
|
|
|
|
{{/if}}
|
2017-10-12 15:10:43 +02:00
|
|
|
</div>
|
|
|
|
|
</template>
|