2016-08-15 15:34:36 +02:00
|
|
|
<template name="measurementTableRow">
|
2017-01-16 21:20:24 -02:00
|
|
|
<div class="measurementTableRow {{#if hasWarnings}}warning{{/if}}{{#if responseStatus}}response-status{{/if}}" data-measurementid="{{_id}}">
|
2016-11-06 16:17:35 +01:00
|
|
|
<div class='measurementRowSidebar'>
|
|
|
|
|
<div class="measurementNumber">
|
2017-01-02 16:29:40 -02:00
|
|
|
{{rowItem.measurementNumber}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2017-01-16 21:20:24 -02:00
|
|
|
{{#if hasWarnings}}
|
2016-06-23 16:59:36 -03:00
|
|
|
<div class="warning-icon">
|
2016-06-07 19:09:47 +02:00
|
|
|
<svg>
|
2017-01-10 13:09:43 -05:00
|
|
|
<use xlink:href={{absoluteUrl "packages/ohif_viewerbase/assets/icons.svg#icon-ui-warning"}}></use>
|
2016-06-07 19:09:47 +02:00
|
|
|
</svg>
|
|
|
|
|
</div>
|
2017-01-16 21:20:24 -02:00
|
|
|
{{/if}}
|
2016-06-27 18:18:42 -03:00
|
|
|
{{#if rowItem.responseStatus}}
|
2016-06-23 16:59:36 -03:00
|
|
|
<div class="response-status-icon">
|
2016-11-10 07:14:52 -02:00
|
|
|
{{rowItem.responseStatus}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2016-06-23 16:59:36 -03:00
|
|
|
{{/if}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2016-11-06 16:17:35 +01:00
|
|
|
<div class="measurementDetails">
|
2016-06-07 19:09:47 +02:00
|
|
|
<div class='location'>
|
2016-06-27 18:18:42 -03:00
|
|
|
{{#if rowItem.location}}
|
2017-02-08 08:19:10 -02:00
|
|
|
{{getLocationLabel rowItem.location}}
|
2016-06-27 18:18:42 -03:00
|
|
|
{{else}}
|
2016-06-07 19:09:47 +02:00
|
|
|
(No description)
|
2016-06-27 18:18:42 -03:00
|
|
|
{{/if}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
|
|
|
|
<div class="timepointData">
|
|
|
|
|
<!--Each time point as a column-->
|
2016-08-15 15:34:36 +02:00
|
|
|
{{#each timepoint in timepoints.get}}
|
|
|
|
|
{{>measurementTableTimepointCell (clone this timepoint)}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{>measurementTableTimepointCell}}
|
2016-06-27 18:18:42 -03:00
|
|
|
{{/each}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2016-07-04 15:17:27 -03:00
|
|
|
<div class="rowOptions">
|
|
|
|
|
<div class="rowAction js-rename pull-left m-r-2" tabindex="1">
|
|
|
|
|
<svg class="edit-icon">
|
2017-01-10 13:09:43 -05:00
|
|
|
<use xlink:href={{absoluteUrl "packages/ohif_viewerbase/assets/icons.svg#icon-measurements-additional"}}></use>
|
2016-07-04 15:17:27 -03:00
|
|
|
</svg>
|
2017-10-27 09:53:47 -02:00
|
|
|
Relabel
|
2016-07-04 15:17:27 -03:00
|
|
|
</div>
|
|
|
|
|
<div class="rowAction js-delete pull-left" tabindex="1">
|
|
|
|
|
<svg class="close-icon">
|
2017-01-10 13:09:43 -05:00
|
|
|
<use xlink:href={{absoluteUrl "packages/ohif_viewerbase/assets/icons.svg#icon-ui-close"}}></use>
|
2016-07-04 15:17:27 -03:00
|
|
|
</svg>
|
|
|
|
|
Delete
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-05-07 16:34:44 -04:00
|
|
|
</template>
|