Disable the trial popup
This commit is contained in:
@@ -219,14 +219,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="upgrade hide">
|
||||
<!-- <div class="upgrade hide">
|
||||
<div class="content">
|
||||
<h4>Your Cloudron trial ends soon</h4>
|
||||
<p>To keep your Cloudron, just <a href="https://cloudron.io/console.html#/billing" target="_blank">setup a payment method at cloudron.io</a> or <a href="mailto: support@cloudron.io">send us an email</a>.</p>
|
||||
</div>
|
||||
|
||||
<div class="trigger">Want to keep your Cloudron?</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="text-center">
|
||||
|
||||
@@ -188,21 +188,21 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
|
||||
|
||||
// wait till the view has loaded until showing a modal dialog
|
||||
Client.onConfig(function (config) {
|
||||
if (!config.billing) {
|
||||
setTimeout(function () {
|
||||
$('.upgrade')[0].classList.remove('hide');
|
||||
// if (!config.billing) {
|
||||
// setTimeout(function () {
|
||||
// $('.upgrade')[0].classList.remove('hide');
|
||||
|
||||
$('.upgrade .trigger').hover(function () {
|
||||
$('.upgrade .content')[0].classList.add('active');
|
||||
$('.upgrade .trigger')[0].classList.add('active');
|
||||
});
|
||||
// $('.upgrade .trigger').hover(function () {
|
||||
// $('.upgrade .content')[0].classList.add('active');
|
||||
// $('.upgrade .trigger')[0].classList.add('active');
|
||||
// });
|
||||
|
||||
$('.upgrade').hover(function () {}, function () {
|
||||
$('.upgrade .content')[0].classList.remove('active');
|
||||
$('.upgrade .trigger')[0].classList.remove('active');
|
||||
});
|
||||
}, 2000);
|
||||
}
|
||||
// $('.upgrade').hover(function () {}, function () {
|
||||
// $('.upgrade .content')[0].classList.remove('active');
|
||||
// $('.upgrade .trigger')[0].classList.remove('active');
|
||||
// });
|
||||
// }, 2000);
|
||||
// }
|
||||
|
||||
// check if we are actually updating
|
||||
if (config.progress.update && config.progress.update.percent !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user