LT-302: Adding close buttons to Audit Log screen
This commit is contained in:
1 parent
c004aee40f
commit
3c831c5d5a
13 files changed
+87
-12
No files matched your search
@@ -1,5 +1,9 @@
|
||||
<template name="hipaaLogPage">
|
||||
<div id="hipaaLogPage" class="page">
|
||||
{{#if hasCloseButtons}}
|
||||
{{> hipaaCloseButton header="true" }}
|
||||
{{/if}}
|
||||
|
||||
{{> hipaaRibbon }}
|
||||
|
||||
<div class="container">
|
||||
@@ -8,5 +12,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if hasCloseButtons}}
|
||||
{{> hipaaCloseButton }}
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
</template>
|
||||
@@ -4,9 +4,12 @@ Router.route("/audit", {
|
||||
});
|
||||
|
||||
|
||||
Template.hipaaLogPage.helpers({});
|
||||
|
||||
Template.hipaaLogPage.events({});
|
||||
Template.hipaaLogPage.helpers({
|
||||
hasCloseButtons: function() {
|
||||
var hipaaAuditLog = Session.get('HipaaAuditLogConfig');
|
||||
return hipaaAuditLog && hipaaAuditLog.closeButton;
|
||||
}
|
||||
});
|
||||
|
||||
// We probably don't need this, but the subscription in subscriptions.js doesn't seem to be working?
|
||||
Template.hipaaLogPage.onCreated(function() {
|
||||
|
||||
Reference in new issue
Block a user