mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-27 16:50:59 +01:00
feat(core): add support settings into templates
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
vm.lang = getStorageLangService.getLang();
|
||||
vm.appConfig = MeanTorrentConfig.meanTorrentConfig.app;
|
||||
vm.supportConfig = MeanTorrentConfig.meanTorrentConfig.support;
|
||||
vm.scoreConfig = MeanTorrentConfig.meanTorrentConfig.score;
|
||||
vm.announce = MeanTorrentConfig.meanTorrentConfig.announce;
|
||||
vm.rssConfig = MeanTorrentConfig.meanTorrentConfig.rss;
|
||||
@@ -75,6 +76,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