Remove tabbed layout in favour of current Lesion Tracker design (OHIF-49)

This commit is contained in:
Erik Ziegler committed 2016-07-23 20:11:01 +02:00
1 parent 8b364ce9d0
commit 82e374b1e3
48 files changed
+371 -511

No files matched your search

+6 -12
View File
@@ -17,13 +17,12 @@ Router.configure({
});
Router.onBeforeAction('loading');
Router.route('/', function() {
this.render('worklist');
Router.onBeforeAction(function() {
this.next();
});
Router.route('/worklist', function() {
this.render('worklist');
Router.route('/', function() {
this.render('ohifViewer');
});
Router.route('/viewer/:_id', {
@@ -37,11 +36,12 @@ Router.route('/viewer/:_id', {
var tabs = WorklistTabs.find({
studyInstanceUid: studyInstanceUid
});
if (tabs.count()) {
return;
}
this.render('worklist', {
this.render('ohifViewer', {
data: function() {
return {
studyInstanceUid: studyInstanceUid
@@ -49,10 +49,4 @@ Router.route('/viewer/:_id', {
}
});
}
});
Router.onBeforeAction(function() {
// User is logged in, go ahead and route them
this.next();
});