Add Next/Previous Hanging Protcol stage buttons (only works with MG for now)
This commit is contained in:
1 parent
bfe6b80e27
commit
487ebf9541
13 files changed
+147
-6
No files matched your search
@@ -12,6 +12,10 @@
|
||||
{{ #if includeLayoutButton }}
|
||||
{{ >layoutButton }}
|
||||
{{ /if }}
|
||||
|
||||
{{ #if includeHangingProtocolButtons }}
|
||||
{{ >hangingProtocolButtons }}
|
||||
{{ /if }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -152,5 +152,11 @@ Template.toolbar.helpers({
|
||||
return this.toolbarOptions.includeLayoutButton;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
'includeHangingProtocolButtons': function() {
|
||||
if (this.toolbarOptions && this.toolbarOptions.includeHangingProtocolButtons !== undefined) {
|
||||
return this.toolbarOptions.includeHangingProtocolButtons;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user