Browse Source

Provide a description of the update channels inline

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v14.0.0beta1
Morris Jobke 6 years ago
parent
commit
b01b3454e6
No account linked to committer's email address

+ 1
- 0
.gitignore View File

@@ -32,6 +32,7 @@
!/apps/testing
!/apps/admin_audit
!/apps/updatenotification
/apps/updatenotification/build
/apps/updatenotification/js/merged.js
/apps/updatenotification/js/merged.js.map
/apps/updatenotification/js/*.hot-update.*

+ 9
- 0
apps/updatenotification/css/admin.css View File

@@ -31,3 +31,12 @@
#updatenotification .icon-triangle-n {
opacity: 0.5;
}

#updatenotification .channel-description span {
color: #aaa;
}

#updatenotification .channel-description span strong {
color: #555;
font-weight: normal;
}

+ 18
- 0
apps/updatenotification/js-src/components/root.vue View File

@@ -55,6 +55,12 @@
<em>{{ t('updatenotification', 'Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.') }}</em>
</p>

<p class="channel-description">
<span v-html="productionInfoString"></span><br>
<span v-html="stableInfoString"></span><br>
<span v-html="betaInfoString"></span>
</p>

<p id="oca_updatenotification_groups">
{{ t('updatenotification', 'Notify members of the following groups about available updates:') }}
<v-select multiple :value="notifyGroups" :options="availableGroups"></v-select><br />
@@ -174,6 +180,18 @@
this.missingAppUpdates.length, {
version: this.newVersionString
});
},

productionInfoString: function() {
return t('updatenotification', '<strong>production</strong> will always provide the latest patch level, but not update to the next major release immediately. That update usually happens with the second minor release (x.0.2).');
},

stableInfoString: function() {
return t('updatenotification', '<strong>stable</strong> is the most recent stable version. It is suited for production use and will always update to the latest major version.');
},

betaInfoString: function() {
return t('updatenotification', '<strong>beta</strong> is a pre-release version only for testing new features, not for production environments.');
}
},


Loading…
Cancel
Save