2016-06-07 19:09:47 +02:00
|
|
|
<template name="studyTimepointStudy">
|
2016-07-25 22:19:47 +02:00
|
|
|
{{#let isSidebar=(isUndefined viewportIndex)}}
|
2016-06-17 20:03:44 +02:00
|
|
|
<div class="studyTimepointStudy {{#if isSidebar}}studySidebarTimepoint{{else}}studyQuickSwitchTimepoint{{/if}} {{#if this.active}}active{{/if}}">
|
2016-06-22 19:51:28 +02:00
|
|
|
<div class="studyItem">
|
|
|
|
|
{{>loadingText}}
|
|
|
|
|
<div class="studyModality">
|
|
|
|
|
<div class="studyModalityBox">
|
2016-08-14 15:36:21 +02:00
|
|
|
<div class="studyModalityText" style="{{modalityStyle}}">
|
|
|
|
|
{{#if this.study.modalities}}
|
2016-11-16 02:14:27 +01:00
|
|
|
{{modalities}}
|
2016-08-14 15:36:21 +02:00
|
|
|
{{else}}
|
|
|
|
|
UN
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
2016-06-22 19:51:28 +02:00
|
|
|
</div>
|
2016-08-14 15:36:21 +02:00
|
|
|
<div class="studyText">
|
|
|
|
|
<div class="studyDate">{{formatDA this.study.studyDate 'D-MMM-YYYY'}}</div>
|
|
|
|
|
<div class="studyDescription">{{this.study.studyDescription}}</div>
|
2016-06-22 19:51:28 +02:00
|
|
|
</div>
|
2016-06-17 20:03:44 +02:00
|
|
|
</div>
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2016-06-17 20:03:44 +02:00
|
|
|
{{#if isSidebar}}
|
|
|
|
|
<div class="studyTimepointThumbnails">
|
|
|
|
|
{{#each thumbnail in (studyThumbnails this.study)}}
|
2016-07-19 19:26:20 +02:00
|
|
|
{{>thumbnailEntry (clone this thumbnail=thumbnail)}}
|
2016-06-17 20:03:44 +02:00
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2016-06-17 20:03:44 +02:00
|
|
|
{{/let}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</template>
|