mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 09:17:52 +02:00
feat(core): add support settings into templates
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
vm.lang = getStorageLangService.getLang();
|
||||
vm.blackListConfig = MeanTorrentConfig.meanTorrentConfig.clientBlackList;
|
||||
vm.appConfig = MeanTorrentConfig.meanTorrentConfig.app;
|
||||
vm.supportConfig = MeanTorrentConfig.meanTorrentConfig.support;
|
||||
vm.scoreConfig = MeanTorrentConfig.meanTorrentConfig.score;
|
||||
vm.announce = MeanTorrentConfig.meanTorrentConfig.announce;
|
||||
vm.itemsPerPageConfig = MeanTorrentConfig.meanTorrentConfig.itemsPerPage;
|
||||
@@ -67,6 +68,7 @@
|
||||
vm.getTemplateMarkedContent = function () {
|
||||
var tmp = $filter('fmt')(vm.templateFileContent, {
|
||||
appConfig: vm.appConfig,
|
||||
supportConfig: vm.supportConfig,
|
||||
announceConfig: vm.announce,
|
||||
scoreConfig: vm.scoreConfig,
|
||||
rssConfig: vm.rssConfig,
|
||||
|
||||
Reference in New Issue
Block a user