LT-249: Implementing behavior for 'comparison' and 'key timepoints' switch

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-07-22 11:08:27 +02:00
1 parent ef89c3dfd7
commit 048bb3f050
11 files changed
+136 -93

No files matched your search

@@ -2,16 +2,16 @@
<div class="lesionTableRow {{#if descriptionRequired}}warning{{/if}}{{#if responseStatus}}response-status{{/if}}" data-measurementid="{{_id}}">
<div class='lesionRowSidebar'>
<div class="lesionNumber">
{{lesionNumberAbsolute}}
{{rowItem.lesionNumberAbsolute}}
</div>
{{#if descriptionRequired}}
{{#if rowItem.descriptionRequired}}
<div class="warning-icon">
<svg>
<use xlink:href=/packages/lesiontracker/assets/icons.svg#icon-ui-warning></use>
</svg>
</div>
{{/if}}
{{#if responseStatus}}
{{#if rowItem.responseStatus}}
<div class="response-status-icon">
CR
</div>
@@ -19,17 +19,17 @@
</div>
<div class="lesionDetails">
<div class='location'>
{{ #if location }}
{{location}}
{{ else }}
{{#if rowItem.location}}
{{rowItem.location}}
{{else}}
(No description)
{{ /if }}
{{/if}}
</div>
<div class="timepointData">
<!--Each time point as a column-->
{{# each timepoints }}
{{> lesionTableTimepointCell}}
{{/ each }}
{{#each timepoints.get}}
{{>lesionTableTimepointCell}}
{{/each}}
</div>
</div>
</div>
@@ -1,13 +1,3 @@
Template.lesionTableRow.helpers({
timepoints: function() {
return Timepoints.find({}, {
sort: {
timepointName: 1
}
});
}
});
function doneCallback(measurementData, deleteTool) {
// If a Lesion or Non-Target is removed via a dialog
// opened by the Lesion Table, we should clear the data for