mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Implement more re-branding updates
This commit is contained in:
parent
8976bf817b
commit
8fa5569ae5
7 changed files with 12 additions and 12 deletions
|
@ -50,7 +50,7 @@ export default Component.extend(Modals, {
|
|||
});
|
||||
|
||||
let version = this.get('appMeta.version');
|
||||
let edition = this.get('appMeta.edition').toLowerCase();
|
||||
let edition = encodeURIComponent(this.get('appMeta.edition').toLowerCase());
|
||||
|
||||
let self = this;
|
||||
let cacheBuster = + new Date();
|
||||
|
|
|
@ -155,7 +155,7 @@ let constants = EmberObject.extend({
|
|||
CommunityEdition: 'Community',
|
||||
|
||||
// EnterpriseEdition is proprietary closed-source product.
|
||||
EnterpriseEdition: 'Enterprise',
|
||||
EnterpriseEdition: 'Community+',
|
||||
|
||||
// PackageEssentials provides core capabilities.
|
||||
PackageEssentials: "Essentials",
|
||||
|
|
|
@ -22,7 +22,7 @@ export default Controller.extend({
|
|||
this._super(...arguments);
|
||||
|
||||
let version = this.get('appMeta.version');
|
||||
let edition = this.get('appMeta.edition').toLowerCase();
|
||||
let edition = encodeURIComponent(this.get('appMeta.edition').toLowerCase());
|
||||
let self = this;
|
||||
let cacheBuster = + new Date();
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ export default Service.extend({
|
|||
let isNewEnterprise = miscUtil.isNewVersion(rv, ev, true);
|
||||
|
||||
if (re === 'Community' && isNewCommunity) self.set('updateAvailable', true);
|
||||
if (re === 'Enterprise' && isNewEnterprise) self.set('updateAvailable', true);
|
||||
if (re === 'Community+' && isNewEnterprise) self.set('updateAvailable', true);
|
||||
});
|
||||
|
||||
return response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue