mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-06 04:01:04 +01:00
feat(core): add configure item to hide count info at home footer for guest user
This commit is contained in:
1
config/env/torrents.js
vendored
1
config/env/torrents.js
vendored
@@ -162,6 +162,7 @@ module.exports = {
|
||||
signUpActiveTokenExpires: 60 * 60 * 1000 * 24,
|
||||
allowSocialSignin: false,
|
||||
showMenuHeaderForGuest: true,
|
||||
showFooterCountInfoForGuest: true,
|
||||
showDemoSignMessage: true
|
||||
},
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container-fluid" style="padding-top: 15px; padding-bottom: 5px;" ng-controller="HeaderController as vm" ng-init="vm.getSiteInfo();">
|
||||
<div class="container">
|
||||
<div class="row view-footer">
|
||||
<div class="col-sm-10 col-sm-offset-1 site-info xs-hide">
|
||||
<div class="col-sm-10 col-sm-offset-1 site-info xs-hide" ng-hide="!vm.authentication.user && !vm.signConfig.showFooterCountInfoForGuest">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-sm-4 col-md-3">{{'TOTAL_USERS' | translate}}: {{vm.siteInfo.totalUsers}}</div>
|
||||
<div class="col-xs-6 col-sm-4 col-md-3">{{'TOTAL_VIP_USERS' | translate}}: {{vm.siteInfo.totalVipUsers}}</div>
|
||||
|
||||
Reference in New Issue
Block a user