Browse Source

Merge 998f2bbf47 into 3391516db3

pull/6361/merge
Bill Moritz 8 years ago
committed by GitHub
parent
commit
29cac44b62
  1. 6
      couchpotato/static/scripts/combined.base.min.js
  2. 9
      couchpotato/static/scripts/page/about.js

6
couchpotato/static/scripts/combined.base.min.js

@ -2085,9 +2085,7 @@ var AboutSettingTab = new Class({
text: ". For as low as $7.95 per month, you’ll get:"
})), new Element("ul").adopt(new Element("li.icon-ok", {
text: Math.ceil((today.getTime() - millennium.getTime()) / one_day) + " days retention"
}), new Element("li.icon-ok[text=No speed or download limits]"), new Element("li.icon-ok[text=Free SSL Encrypted connections]"))), new Element("div.donate", {
html: 'Or support me via: <iframe src="https://couchpota.to/donate.html" scrolling="no"></iframe>'
}));
}), new Element("li.icon-ok[text=No speed or download limits]"), new Element("li.icon-ok[text=Free SSL Encrypted connections]"))));
},
fillVersion: function(json) {
if (!json) return;
@ -2125,4 +2123,4 @@ window.addEvent("domready", function() {
});
});
}
});
});

9
couchpotato/static/scripts/page/about.js

@ -60,10 +60,10 @@ var AboutSettingTab = new Class({
);
if (!self.hide_about_update){
self.version_text.addEvents({
self.version_text.addEvents({
'click': App.checkForUpdate.bind(App, function(json){
self.fillVersion(json.info);
}),
}),
'mouseenter': function(){
this.set('text', 'Check for updates');
},
@ -120,10 +120,7 @@ var AboutSettingTab = new Class({
new Element('li.icon-ok[text=No speed or download limits]'),
new Element('li.icon-ok[text=Free SSL Encrypted connections]')
)
),
new Element('div.donate', {
'html': 'Or support me via: <iframe src="https://couchpota.to/donate.html" scrolling="no"></iframe>'
})
)
);
},

Loading…
Cancel
Save