LT-195: Add Worklist menu item to go wordlist when audit page is shown
This commit is contained in:
1 parent
7b106d9bdd
commit
f46b6b0ebe
2 files changed
+31
-11
No files matched your search
+12
-2
@@ -6,18 +6,28 @@ Template.lesionTrackerLayout.events({
|
||||
Router.go('/entrySignIn');
|
||||
});
|
||||
},
|
||||
'click #changePassword': function() {
|
||||
Router.go('/changePassword');
|
||||
'click #worklist': function(e, template) {
|
||||
template.showWorklistMenu.set(false);
|
||||
},
|
||||
'click #audit': function(e, template) {
|
||||
template.showWorklistMenu.set(true);
|
||||
}
|
||||
});
|
||||
|
||||
Template.lesionTrackerLayout.helpers({
|
||||
fullName: function() {
|
||||
return Meteor.user().profile.fullName;
|
||||
},
|
||||
|
||||
showWorklistMenu: function() {
|
||||
return Template.instance().showWorklistMenu.get();
|
||||
}
|
||||
});
|
||||
|
||||
Template.lesionTrackerLayout.onCreated(function() {
|
||||
// showViewer to go to viewer from audit
|
||||
this.showWorklistMenu = new ReactiveVar(false);
|
||||
|
||||
// Show countdown dialog
|
||||
var handle;
|
||||
$(document).on('TriggerOpenTimeoutCountdownDialog', function(e, leftTime) {
|
||||
|
||||
Reference in new issue
Block a user