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,
|
canOpenSettings: true,
|
||||||
canCreate: true,
|
canCreate: true,
|
||||||
canImportXml: true,
|
canImportXml: true,
|
||||||
|
canRemoveLatest: true,
|
||||||
dropbox: true,
|
dropbox: true,
|
||||||
webdav: true,
|
webdav: true,
|
||||||
gdrive: true,
|
gdrive: true,
|
||||||
|
|
|
@ -87,6 +87,7 @@ var OpenView = Backbone.View.extend({
|
||||||
canOpenSettings: this.model.settings.get('canOpenSettings'),
|
canOpenSettings: this.model.settings.get('canOpenSettings'),
|
||||||
canCreate: this.model.settings.get('canCreate'),
|
canCreate: this.model.settings.get('canCreate'),
|
||||||
canImportXml: this.model.settings.get('canImportXml'),
|
canImportXml: this.model.settings.get('canImportXml'),
|
||||||
|
canRemoveLatest: this.model.settings.get('canRemoveLatest'),
|
||||||
showMore: showMore,
|
showMore: showMore,
|
||||||
showLogo: showLogo
|
showLogo: showLogo
|
||||||
});
|
});
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
{{#if file.icon}}<i class="fa fa-{{file.icon}} open__last-item-icon"></i>{{/if}}
|
{{#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}}
|
{{#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>
|
<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>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,6 +6,7 @@ Release notes
|
||||||
`+` use browser language as default locale
|
`+` use browser language as default locale
|
||||||
`+` auto-lock in 12 hours or day
|
`+` auto-lock in 12 hours or day
|
||||||
`+` text fields context menu on desktop
|
`+` text fields context menu on desktop
|
||||||
|
`+` option to disable latest file removal
|
||||||
|
|
||||||
##### v1.3.3 (2016-09-20)
|
##### v1.3.3 (2016-09-20)
|
||||||
`+` translations: fr, pl, pt
|
`+` translations: fr, pl, pt
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
"canOpenSettings": true,
|
"canOpenSettings": true,
|
||||||
"canCreate": true,
|
"canCreate": true,
|
||||||
"canImportXml": true,
|
"canImportXml": true,
|
||||||
|
"canRemoveLatest": true,
|
||||||
|
|
||||||
"dropbox": true,
|
"dropbox": true,
|
||||||
"dropboxFolder": null,
|
"dropboxFolder": null,
|
||||||
|
|
Loading…
Reference in New Issue