LT-240: Add studyListFunctionsEnabled property (false as default) in public.ui object in settings file to enable/disable import / export / anonymize functions
LT-239: Error handling on the import process (WIP)
This commit is contained in:
1 parent
1e1c4033a6
commit
2a17760ff8
15 files changed
+267
-179
No files matched your search
+12
-8
@@ -24,16 +24,20 @@
|
||||
title="Remove Timepoint Association">
|
||||
<i class="fa fa-eraser fa-lg"></i> Remove Association
|
||||
</a>
|
||||
<a class="disabled"><span class="fa-stack fa-lg">
|
||||
<i class="fa fa-user fa-stack-1x"></i>
|
||||
<i class="fa fa-ban fa-stack-2x text-danger"></i>
|
||||
</span> Anonymize
|
||||
</a>
|
||||
|
||||
{{#if studyListFunctionsEnabled}}
|
||||
<a class="disabled"><span class="fa-stack fa-lg">
|
||||
<i class="fa fa-user fa-stack-1x"></i>
|
||||
<i class="fa fa-ban fa-stack-2x text-danger"></i>
|
||||
</span> Anonymize
|
||||
</a>
|
||||
<a id="exportSelectedStudies" type="button"
|
||||
title="Export Selected Studies">
|
||||
<i class="fa fa-exchange fa-lg"></i> Export
|
||||
</a>
|
||||
{{/if}}
|
||||
<a class="disabled"><i class="fa fa-trash fa-lg"></i> Delete</a>
|
||||
<a class="disabled"><i class="fa fa-send-o fa-lg"></i> Send</a>
|
||||
<a id="exportSelectedStudies" type="button"
|
||||
title="Export Selected Studies">
|
||||
<i class="fa fa-exchange fa-lg"></i> Export</a>
|
||||
<a class="disabled"><i class="fa fa-download fa-lg"></i> Download</a>
|
||||
<a class="disabled"><i class="fa fa-photo fa-lg"></i> View Series Details</a>
|
||||
</li>
|
||||
|
||||
+9
-1
@@ -171,4 +171,12 @@ function viewStudies() {
|
||||
|
||||
// Switch to the new tab
|
||||
switchToTab(contentid);
|
||||
}
|
||||
}
|
||||
|
||||
Template.studyContextMenu.helpers({
|
||||
'studyListFunctionsEnabled': function() {
|
||||
var studyListFunctionsEnabled = Meteor.settings && Meteor.settings.public && Meteor.settings.public.ui &&
|
||||
Meteor.settings.public.ui.studyListFunctionsEnabled || false;
|
||||
return studyListFunctionsEnabled;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user