Change Admin Panel "Attachment Settings" and "Cron Settings" options to be tabs, not submenu. Part 2.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-12 05:25:44 +03:00
parent e2f3dad779
commit 5a6faafa30
6 changed files with 105 additions and 39 deletions

View file

@ -1,5 +1,21 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { TAPi18n } from '/imports/i18n';
// Template helpers for attachmentSettings
Template.attachmentSettings.helpers({
loading() {
return attachmentSettings.loading.get();
},
showStorageSettings() {
return attachmentSettings.showStorageSettings.get();
},
showMigration() {
return attachmentSettings.showMigration.get();
},
showMonitoring() {
return attachmentSettings.showMonitoring.get();
}
});
import { Meteor } from 'meteor/meteor';
import { Session } from 'meteor/session';
import { Tracker } from 'meteor/tracker';