Updates for Timepoint assocation (LT-60) and Conformance Checks (LT-92, LT-93, LT-94)

This commit is contained in:
Erik Ziegler committed 2016-02-08 19:59:39 +01:00
1 parent 6c4eae3699
commit beaa56c0b3
144 files changed
+5050 -2416

No files matched your search

+12 -12
View File
@@ -11,15 +11,17 @@ Object.keys(ViewerData).forEach(function(contentId) {
});
Router.configure({
layoutTemplate: 'layoutLesionTracker',
loadingTemplate: 'layoutLesionTracker'
layoutTemplate: 'lesionTrackerLayout',
loadingTemplate: 'lesionTrackerLayout',
notFoundTemplate: 'notFound'
});
Router.onBeforeAction('loading');
var data = {
additionalTemplates: [
'associationModal'
'associationModal',
'optionsModal'
]
};
@@ -35,24 +37,22 @@ Router.route('/worklist', function() {
this.render('worklist', routerOptions);
});
Router.route('/viewer/:_id', {
layoutTemplate: 'layoutLesionTracker',
Router.route('/viewer/timepoints/:_id', {
layoutTemplate: 'lesionTrackerLayout',
name: 'viewer',
onBeforeAction: function() {
log.info('Router GetStudyMetadata');
var timepointId = this.params._id;
var studyInstanceUid = this.params._id;
// Check if this study is already loaded in a tab
// If it is, stop here so we don't keep adding tabs on hot-code reloads
var tab = WorklistTabs.find({
studyInstanceUid: studyInstanceUid
}).fetch();
var tab = WorklistTabs.findOne({
timepointId: timepointId
});
if (tab) {
return;
}
this.render('worklist', routerOptions);
openNewTab(studyInstanceUid);
openNewTabWithTimepoint(timepointId);
}
});