mirror of https://github.com/keeweb/keeweb.git
fix #429: option to disable latest file removal
This commit is contained in:
parent
b340b21b5c
commit
de1dc22fd2
|
@ -34,6 +34,7 @@ var AppSettingsModel = Backbone.Model.extend({
|
|||
canOpenSettings: true,
|
||||
canCreate: true,
|
||||
canImportXml: true,
|
||||
canRemoveLatest: true,
|
||||
dropbox: true,
|
||||
webdav: true,
|
||||
gdrive: true,
|
||||
|
|
|
@ -87,6 +87,7 @@ var OpenView = Backbone.View.extend({
|
|||
canOpenSettings: this.model.settings.get('canOpenSettings'),
|
||||
canCreate: this.model.settings.get('canCreate'),
|
||||
canImportXml: this.model.settings.get('canImportXml'),
|
||||
canRemoveLatest: this.model.settings.get('canRemoveLatest'),
|
||||
showMore: showMore,
|
||||
showLogo: showLogo
|
||||
});
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
{{#if file.icon}}<i class="fa fa-{{file.icon}} open__last-item-icon"></i>{{/if}}
|
||||
{{#if file.iconSvg}}<div class="open__last-item-icon open__last-item-icon--svg">{{{file.iconSvg}}}</div>{{/if}}
|
||||
<span class="open__last-item-text">{{file.name}}</span>
|
||||
<i class="fa fa-times open__last-item-icon-del"></i>
|
||||
{{#if ../canRemoveLatest}}<i class="fa fa-times open__last-item-icon-del"></i>{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
@ -6,6 +6,7 @@ Release notes
|
|||
`+` use browser language as default locale
|
||||
`+` auto-lock in 12 hours or day
|
||||
`+` text fields context menu on desktop
|
||||
`+` option to disable latest file removal
|
||||
|
||||
##### v1.3.3 (2016-09-20)
|
||||
`+` translations: fr, pl, pt
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
"canOpenSettings": true,
|
||||
"canCreate": true,
|
||||
"canImportXml": true,
|
||||
"canRemoveLatest": true,
|
||||
|
||||
"dropbox": true,
|
||||
"dropboxFolder": null,
|
||||
|
|
Loading…
Reference in New Issue