Measurements and Timepoint interaction in Lesion Table and tools
This commit is contained in:
1 parent
5363880e40
commit
b49c36493e
15 files changed
+300
-383
No files matched your search
@@ -1,11 +1,11 @@
|
||||
<template name="lesionTableRow">
|
||||
<tr id="{{lesionData.lesionNumber}}" class="lesionTableRow">
|
||||
<td class='lesionNumber'>{{lesionData.lesionNumber}}</td>
|
||||
<td class='location'>{{lesionData.location}}</td>
|
||||
<td class='target'>{{#if lesionData.isTarget}} Y {{else}} N {{/if}}</td>
|
||||
<tr id="{{lesionNumber}}" class="lesionTableRow">
|
||||
<td class='lesionNumber'>{{lesionNumber}}</td>
|
||||
<td class='location'>{{location}}</td>
|
||||
<td class='target'>{{#if isTarget}} Y {{else}} N {{/if}}</td>
|
||||
<!--Each time point as a column-->
|
||||
{{# each timepoints }}
|
||||
{{> lesionTableTimepointCell }}
|
||||
{{> lesionTableTimepointCell}}
|
||||
{{/ each }}
|
||||
</tr>
|
||||
</template>
|
||||
@@ -1,5 +1,5 @@
|
||||
Template.lesionTableRow.helpers({
|
||||
'timepoints': function() {
|
||||
return this.lesionData.timepoints;
|
||||
return Timepoints.find();
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user