mirror of https://github.com/keeweb/keeweb.git
release notes link
This commit is contained in:
parent
72bf952717
commit
d0f5821fd4
|
@ -122,6 +122,7 @@ var Updater = {
|
|||
checkManualDownload: function() {
|
||||
if (+Launcher.getAppVersion().split('.')[1] <= 2) {
|
||||
UpdateModel.instance.set({ updateStatus: 'ready', updateManual: true });
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@ var Links = {
|
|||
Desktop: 'https://github.com/antelle/keeweb/releases/latest',
|
||||
WebApp: 'http://antelle.github.io/keeweb/',
|
||||
License: 'https://github.com/antelle/keeweb/blob/master/MIT-LICENSE.txt',
|
||||
UpdateDesktop: 'https://github.com/antelle/keeweb/releases/download/{ver}/UpdateDesktop.zip'
|
||||
UpdateDesktop: 'https://github.com/antelle/keeweb/releases/download/{ver}/UpdateDesktop.zip',
|
||||
ReleaseNotes: 'https://github.com/antelle/keeweb/blob/master/release-notes.md#release-notes'
|
||||
};
|
||||
|
||||
module.exports = Links;
|
||||
|
|
|
@ -44,7 +44,8 @@ var SettingsGeneralView = Backbone.View.extend({
|
|||
updateInProgress: Updater.updateInProgress(),
|
||||
updateInfo: this.getUpdateInfo(),
|
||||
updateReady: UpdateModel.instance.get('updateStatus') === 'ready',
|
||||
updateManual: UpdateModel.instance.get('updateManual')
|
||||
updateManual: UpdateModel.instance.get('updateManual'),
|
||||
releaseNotesLink: Links.ReleaseNotes
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<h1><i class="fa fa-cog"></i> General Settings</h1>
|
||||
<% if (updateReady && !canAutoUpdate) { %>
|
||||
<h2 class="action-color">Update</h2>
|
||||
<div>New app version was released and downloaded.</div>
|
||||
<div>New app version was released and downloaded. <a href="<%= releaseNotesLink %>" target="_blank">View release notes</a></div>
|
||||
<div class="settings__general-update-buttons">
|
||||
<button class="settings__general-restart-btn">Reload to update</button>
|
||||
</div>
|
||||
|
@ -33,6 +33,7 @@
|
|||
<input type="checkbox" class="settings__input settings__general-auto-update" id="settings__general-auto-update" <%- autoUpdate ? 'checked' : '' %> />
|
||||
<label for="settings__general-auto-update">Automatic updates</label>
|
||||
<div><%- updateInfo %></div>
|
||||
<a href="<%= releaseNotesLink %>" target="_blank">View release notes</a>
|
||||
</div>
|
||||
<div class="settings__general-update-buttons">
|
||||
<% if (updateInProgress) { %>
|
||||
|
|
Loading…
Reference in New Issue